.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-dashboard [data-wram-workflow-top-action][hidden],
.wram-dashboard [data-wram-operations-top-action][hidden] {
	display: none !important;
}

.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-import-diagnostics {
	background: #ffffff;
	border: 1px solid var(--wram-border);
	border-radius: 10px;
	margin-top: 12px;
	overflow: hidden;
}

.wram-import-diagnostics-head {
	align-items: center;
	background: #fff1f2;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 11px 13px;
}

.wram-import-diagnostics-head h4,
.wram-import-diagnostics-head p {
	margin: 0;
}

.wram-import-diagnostics-head h4 {
	color: #9f1239;
	font-size: 14px;
}

.wram-import-diagnostics-head p {
	color: #6b7280;
	font-size: 12px;
	font-weight: 700;
	margin-top: 3px;
}

.wram-import-diagnostics-head > span {
	background: #be123c;
	border-radius: 999px;
	color: #ffffff;
	font-size: 13px;
	font-weight: 900;
	min-width: 32px;
	padding: 5px 9px;
	text-align: center;
}

.wram-import-diagnostics-table {
	max-width: 100%;
	overflow-x: auto;
	overflow-y: visible;
	-webkit-overflow-scrolling: touch;
}

.wram-import-diagnostics-table table {
	border-collapse: collapse;
	font-size: 12px;
	min-width: 900px;
	table-layout: fixed;
	width: 100%;
}

.wram-import-diagnostics-table th,
.wram-import-diagnostics-table td {
	background: #ffffff;
	border-bottom: 1px solid var(--wram-border);
	border-inline-start: 1px solid #e4e9ee;
	line-height: 1.65;
	overflow: visible;
	overflow-wrap: anywhere;
	padding: 9px 10px;
	text-align: right;
	vertical-align: top;
	white-space: normal !important;
	word-break: normal;
}

.wram-import-diagnostics-table th {
	background: #eef3f7;
	color: #435166;
	font-weight: 900;
	position: sticky;
	top: 0;
	z-index: 1;
}

.wram-import-diagnostics-table th:first-child,
.wram-import-diagnostics-table td:first-child {
	text-align: center;
	width: 90px;
}

.wram-import-diagnostics-table th:nth-child(2),
.wram-import-diagnostics-table td:nth-child(2) {
	width: 260px;
}

.wram-import-diagnostics-table th:nth-child(3),
.wram-import-diagnostics-table td:nth-child(3) {
	text-align: center;
	width: 110px;
}

.wram-import-diagnostics-table tbody tr:hover td {
	background: #f8fafc;
}

.wram-import-result-badge {
	border-radius: 999px;
	display: inline-flex;
	font-size: 11px;
	font-weight: 900;
	padding: 3px 8px;
	white-space: nowrap;
}

.wram-import-result-badge.is-skipped {
	background: #fff7ed;
	color: #c2410c;
}

.wram-import-result-badge.is-failed {
	background: #fee2e2;
	color: #b91c1c;
}

.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;
	}
}

/* Standalone recruitment identity: warm amber and aubergine, intentionally unlike both dashboards. */
.wram-dashboard.wram-recruitment-standalone {
	--wram-brand: #c45a2d;
	--wram-brand-dark: #7a294f;
	--wram-blue: #7a294f;
	--wram-blue-soft: #f7eaf1;
	background: linear-gradient(145deg, #fff8ef 0%, #f8eef3 52%, #fffdf9 100%);
}

.wram-dashboard.wram-recruitment-standalone .wram-recruitment-standalone-header {
	background: linear-gradient(118deg, #642242 0%, #8d3153 58%, #c45a2d 100%);
	border: 0;
	box-shadow: 0 16px 36px rgba(100, 34, 66, .2);
}

.wram-dashboard.wram-recruitment-standalone .wram-recruitment-standalone-header h2,
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-standalone-header h2 i,
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-standalone-header p {
	color: #fff !important;
}

.wram-dashboard.wram-recruitment-standalone .wram-recruitment-standalone-header .wram-user-chip {
	background: rgba(255, 255, 255, .14) !important;
	border-color: rgba(255, 255, 255, .28) !important;
	color: #fff !important;
}

.wram-dashboard.wram-recruitment-standalone .wram-page-help--primary {
	background: #fff3e6;
	border-color: #efc7a8;
	color: #6b2a3d;
}

.wram-dashboard .wram-recruitment-view-switch {
	background: rgba(255, 255, 255, .82);
	border: 1px solid #e8c9d5;
	border-radius: 16px;
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 0 16px;
	padding: 7px;
}

.wram-dashboard .wram-recruitment-view-switch button {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 11px;
	color: #6b4052;
	cursor: pointer;
	display: flex;
	font-weight: 900;
	gap: 9px;
	justify-content: center;
	min-height: 46px;
	padding: 9px 14px;
}

.wram-dashboard .wram-recruitment-view-switch button.is-active {
	background: linear-gradient(105deg, #7a294f, #a33b57);
	box-shadow: 0 8px 18px rgba(122, 41, 79, .2);
	color: #fff;
}

.wram-dashboard .wram-recruitment-view-switch b {
	align-items: center;
	background: rgba(122, 41, 79, .1);
	border-radius: 999px;
	display: inline-flex;
	font-size: 11px;
	height: 24px;
	justify-content: center;
	min-width: 24px;
	padding: 0 7px;
}

.wram-dashboard .wram-recruitment-view-switch button.is-active b {
	background: rgba(255, 255, 255, .18);
}

.wram-dashboard [data-wram-recruitment-view][hidden] {
	display: none !important;
}

.wram-dashboard.wram-recruitment-standalone .wram-recruitment-panel {
	border-top: 4px solid #c45a2d;
	box-shadow: 0 12px 30px rgba(100, 34, 66, .08) !important;
}

.wram-dashboard.wram-recruitment-standalone .wram-action-button--primary {
	background: #7a294f !important;
	border-color: #7a294f !important;
}

.wram-dashboard.wram-recruitment-standalone .wram-action-button--success {
	background: #c45a2d !important;
	border-color: #c45a2d !important;
}

.wram-dashboard.wram-recruitment-standalone .wram-filter-button.is-active,
.wram-dashboard.wram-recruitment-standalone .wram-page-number.is-active {
	background: #7a294f !important;
	border-color: #7a294f !important;
	color: #fff !important;
}

.wram-dashboard.wram-recruitment-standalone .wram-worker-table th {
	background: #f7e9ef !important;
	color: #56213d !important;
}

.wram-dashboard .wram-recruitment-archive-intro {
	align-items: center;
	background: linear-gradient(105deg, #fff2df, #fffaf3);
	border: 1px solid #efc894;
	border-radius: 15px;
	color: #693b1a;
	display: flex;
	gap: 13px;
	margin-bottom: 14px;
	padding: 14px 16px;
}

.wram-dashboard .wram-recruitment-archive-intro > i {
	align-items: center;
	background: #c45a2d;
	border-radius: 12px;
	color: #fff;
	display: inline-flex;
	font-size: 20px;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.wram-dashboard .wram-recruitment-archive-intro > div {
	display: grid;
	gap: 2px;
}

.wram-dashboard .wram-recruitment-archive-intro strong {
	font-size: 15px;
}

.wram-dashboard .wram-recruitment-archive-intro span {
	font-size: 12px;
	font-weight: 700;
}

.wram-dashboard .wram-recruitment-archive-table {
	min-width: 1700px !important;
}

.wram-dashboard .wram-recruitment-remaining--in_guarantee {
	background: #e8f7ee;
	color: #14763a;
}

.wram-dashboard .wram-recruitment-remaining--outside_guarantee {
	background: #fff0ed;
	color: #ad3825;
}

/* Recruitment editor: card-based amber form with a branded header, not the generic workflow dialog. */
.wram-dashboard .wram-recruitment-record-dialog {
	background: #fffaf4 !important;
	border: 1px solid #e8b98f !important;
	border-radius: 22px !important;
	box-shadow: 0 28px 80px rgba(91, 29, 61, .3) !important;
	max-height: calc(100vh - 34px);
	overflow: auto;
	padding: 0 !important;
}

.wram-dashboard .wram-recruitment-record-head {
	align-items: center;
	background: linear-gradient(115deg, #642242 0%, #8b2f50 62%, #c45a2d 100%);
	color: #fff;
	display: grid;
	gap: 14px;
	grid-template-columns: auto 1fr auto;
	padding: 22px 24px;
}

.wram-dashboard .wram-recruitment-record-mark {
	align-items: center;
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 16px;
	display: inline-flex;
	font-size: 25px;
	height: 58px;
	justify-content: center;
	width: 58px;
}

.wram-dashboard .wram-recruitment-record-head h3 {
	color: #fff !important;
	font-size: 22px !important;
	margin: 2px 0 3px !important;
}

.wram-dashboard .wram-recruitment-record-head p {
	color: #fce9ef;
	font-size: 12px;
	font-weight: 700;
	margin: 0;
}

.wram-dashboard .wram-recruitment-record-eyebrow {
	color: #ffd7b9;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .05em;
}

.wram-dashboard .wram-recruitment-record-close {
	align-items: center;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .26);
	border-radius: 11px;
	color: #fff;
	cursor: pointer;
	display: flex;
	height: 40px;
	justify-content: center;
	width: 40px;
}

.wram-dashboard .wram-recruitment-record-form {
	padding: 20px 24px 24px;
}

.wram-dashboard .wram-recruitment-record-form .wram-workflow-wizard {
	background: #f7e8ec;
	border: 1px solid #e7c7d2;
	border-radius: 15px;
	margin-bottom: 18px;
	padding: 7px;
}

.wram-dashboard .wram-recruitment-record-form .wram-workflow-step {
	background: transparent !important;
	border-color: transparent !important;
	color: #71465a !important;
}

.wram-dashboard .wram-recruitment-record-form .wram-workflow-step.is-active {
	background: #c45a2d !important;
	border-color: #c45a2d !important;
	box-shadow: 0 7px 16px rgba(196, 90, 45, .24);
	color: #fff !important;
}

.wram-dashboard .wram-recruitment-record-form .wram-workflow-field {
	background: #fff;
	border: 1px solid #ead8cb;
	border-radius: 14px;
	padding: 12px;
}

.wram-dashboard .wram-recruitment-record-form .wram-workflow-field:focus-within {
	border-color: #c45a2d;
	box-shadow: 0 0 0 3px rgba(196, 90, 45, .12);
}

.wram-dashboard .wram-recruitment-record-form input,
.wram-dashboard .wram-recruitment-record-form select,
.wram-dashboard .wram-recruitment-record-form textarea {
	background: #fffdf9 !important;
	border-color: #dbc5b5 !important;
}

.wram-dashboard .wram-recruitment-record-form .wram-worker-prefill-summary {
	background: #fff1dd;
	border-color: #ecc18a;
	color: #6b3c17;
}

/* Standalone housing identity: violet navigation and turquoise actions. */
.wram-dashboard.wram-housing-dashboard {
	--wram-brand: #0f8f87;
	--wram-brand-dark: #563684;
	--wram-blue: #563684;
	--wram-blue-soft: #eee9f7;
	background: linear-gradient(145deg, #f4f1fa 0%, #eef9f8 100%);
}

.wram-dashboard.wram-housing-dashboard .wram-sidebar {
	background: linear-gradient(180deg, #55327d 0%, #33204f 100%) !important;
	border-color: #2d1b46 !important;
	box-shadow: 0 18px 46px rgba(51, 32, 79, .25) !important;
}

.wram-dashboard.wram-housing-dashboard .wram-sidebar-logo-fallback {
	background: #0f8f87 !important;
}

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

.wram-dashboard.wram-housing-dashboard .wram-sidebar-link.is-active {
	box-shadow: inset 5px 0 0 #19a89f !important;
	color: #3e245d !important;
}

.wram-dashboard.wram-housing-dashboard .wram-sidebar-link.is-active i {
	color: #0f8f87 !important;
}

.wram-dashboard.wram-housing-dashboard .wram-main-topbar {
	border-top: 4px solid #563684;
	box-shadow: 0 10px 26px rgba(86, 54, 132, .08);
}

.wram-dashboard.wram-housing-dashboard .wram-main-title h2 i {
	color: #563684 !important;
}

.wram-dashboard.wram-housing-dashboard .wram-action-button--success,
.wram-dashboard.wram-housing-dashboard .wram-file-button--export {
	background: #0f8f87 !important;
	border-color: #0f8f87 !important;
}

.wram-dashboard.wram-housing-dashboard .wram-action-button--primary,
.wram-dashboard.wram-housing-dashboard .wram-page-number.is-active,
.wram-dashboard.wram-housing-dashboard .wram-filter-button.is-active {
	background: #563684 !important;
	border-color: #563684 !important;
	color: #fff !important;
}

.wram-dashboard.wram-housing-dashboard .wram-panel {
	border-top: 3px solid #0f8f87;
}

.wram-dashboard.wram-housing-dashboard .wram-page-help--primary,
.wram-dashboard.wram-housing-dashboard .wram-help-center--workflow .wram-help-center-head {
	background: linear-gradient(90deg, rgba(86, 54, 132, .12), rgba(15, 143, 135, .1));
	border-color: #d6c8e8;
}

.wram-dashboard.wram-housing-dashboard .wram-worker-table th {
	background: #eee9f7 !important;
	color: #432866 !important;
}

@media (max-width: 720px) {
	.wram-dashboard .wram-recruitment-view-switch {
		grid-template-columns: 1fr;
	}

	.wram-dashboard .wram-recruitment-record-head {
		grid-template-columns: auto 1fr auto;
		padding: 17px;
	}

	.wram-dashboard .wram-recruitment-record-mark {
		height: 46px;
		width: 46px;
	}

	.wram-dashboard .wram-recruitment-record-form {
		padding: 15px;
	}
}

/* Recruitment client tracking and guarded Excel workflow. */
.wram-dashboard.wram-recruitment-standalone {
	min-height: auto;
}

.wram-dashboard .wram-recruitment-standalone-shell {
	margin: 0 auto;
	max-width: 1680px;
	width: 100%;
}

.wram-dashboard .wram-recruitment-standalone-header {
	align-items: center;
	background: #fff;
	border: 1px solid #dbe3ea;
	border-radius: 14px;
	box-shadow: 0 8px 22px rgba(28, 48, 74, .06);
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-bottom: 14px;
	padding: 18px 20px;
}

.wram-dashboard .wram-recruitment-standalone-header h2 {
	align-items: center;
	color: #18324b;
	display: flex;
	font-size: 24px;
	font-weight: 900;
	gap: 9px;
	line-height: 1.25;
	margin: 0 0 4px;
}

.wram-dashboard .wram-recruitment-standalone-header h2 i {
	color: #16803c;
}

.wram-dashboard .wram-recruitment-standalone-header p {
	color: #66788a;
	font-size: 13px;
	font-weight: 700;
	margin: 0;
}

.wram-dashboard .wram-recruitment-standalone-shell > .wram-recruitment-panel {
	margin-bottom: 0;
}

.wram-dashboard .wram-recruitment-kpis {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	margin-bottom: 16px;
}

.wram-dashboard .wram-recruitment-kpi {
	align-items: center;
	background: #fff;
	border: 1px solid #dde5ed;
	border-radius: 16px;
	box-shadow: 0 8px 20px rgba(28, 48, 74, .06);
	display: flex;
	gap: 12px;
	min-height: 92px;
	padding: 16px;
}

.wram-dashboard .wram-recruitment-kpi > i {
	align-items: center;
	border-radius: 13px;
	display: inline-flex;
	font-size: 20px;
	height: 46px;
	justify-content: center;
	width: 46px;
}

.wram-dashboard .wram-recruitment-kpi span {
	display: grid;
	gap: 2px;
}

.wram-dashboard .wram-recruitment-kpi strong {
	color: #17283a;
	font-size: 24px;
	font-weight: 900;
	line-height: 1;
}

.wram-dashboard .wram-recruitment-kpi small {
	color: #66788a;
	font-size: 12px;
	font-weight: 800;
}

.wram-dashboard .wram-recruitment-kpi--blue > i { background: #e9f3ff; color: #1261b5; }
.wram-dashboard .wram-recruitment-kpi--indigo > i { background: #efedff; color: #5a47b8; }
.wram-dashboard .wram-recruitment-kpi--green > i { background: #e8f7ee; color: #16803c; }
.wram-dashboard .wram-recruitment-kpi--amber > i { background: #fff5df; color: #a46100; }
.wram-dashboard .wram-recruitment-kpi--red > i { background: #fff0ed; color: #b53e2a; }

@media (max-width: 720px) {
	.wram-dashboard .wram-recruitment-standalone-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.wram-dashboard .wram-recruitment-standalone-header h2 {
		font-size: 21px;
	}
}

.wram-dashboard .wram-recruitment-panel-head > div:first-child {
	display: grid;
	gap: 2px;
}

.wram-dashboard .wram-recruitment-panel-head > div:first-child span {
	color: #738394;
	font-size: 12px;
}

.wram-dashboard .wram-recruitment-note {
	background: #eff7ff;
	border-color: #cfe4f8;
	color: #244b70;
}

.wram-dashboard .wram-recruitment-table {
	min-width: 2140px !important;
}

.wram-dashboard .wram-recruitment-table th,
.wram-dashboard .wram-recruitment-table td {
	min-width: 125px;
	vertical-align: middle;
}

.wram-dashboard .wram-recruitment-table th:first-child,
.wram-dashboard .wram-recruitment-table td:first-child {
	min-width: 190px;
}

.wram-dashboard .wram-recruitment-value,
.wram-dashboard .wram-recruitment-remaining {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	font-size: 11px;
	font-weight: 900;
	justify-content: center;
	line-height: 1.4;
	max-width: 190px;
	padding: 6px 10px;
	white-space: normal;
}

.wram-dashboard .wram-recruitment-value--success,
.wram-dashboard .wram-recruitment-remaining--completed { background: #e7f7ed; color: #14763a; }
.wram-dashboard .wram-recruitment-value--warning,
.wram-dashboard .wram-recruitment-remaining--cancelled,
.wram-dashboard .wram-recruitment-remaining--overdue { background: #fff0ed; color: #ad3825; }
.wram-dashboard .wram-recruitment-value--neutral,
.wram-dashboard .wram-recruitment-remaining--in_progress { background: #edf4fb; color: #285f91; }
.wram-dashboard .wram-recruitment-remaining--due_soon { background: #fff4dc; color: #9b5d00; }
.wram-dashboard .wram-recruitment-value--empty { background: #f2f4f6; color: #7b8793; }

.wram-dashboard .wram-recruitment-excel-dialog {
	max-height: calc(100vh - 48px);
	overflow: auto;
	padding: 0 !important;
	width: min(980px, calc(100vw - 32px));
}

.wram-dashboard .wram-recruitment-excel-head {
	align-items: flex-start;
	background: linear-gradient(135deg, #f1fff7 0%, #fff 72%);
	border-bottom: 1px solid #dce8e1;
	display: grid;
	gap: 14px;
	grid-template-columns: auto 1fr auto;
	padding: 24px;
}

.wram-dashboard .wram-recruitment-excel-head h3 {
	color: #183226;
	font-size: 22px;
	margin: 0 0 5px;
}

.wram-dashboard .wram-recruitment-excel-head p {
	color: #607268;
	font-size: 13px;
	margin: 0;
}

.wram-dashboard .wram-recruitment-excel-icon {
	align-items: center;
	background: #198754;
	border-radius: 15px;
	box-shadow: 0 8px 18px rgba(25, 135, 84, .2);
	color: #fff;
	display: flex;
	font-size: 24px;
	height: 52px;
	justify-content: center;
	width: 52px;
}

.wram-dashboard .wram-recruitment-modal-close {
	align-items: center;
	background: #fff;
	border: 1px solid #dce4df;
	border-radius: 10px;
	color: #55665d;
	cursor: pointer;
	display: flex;
	height: 38px;
	justify-content: center;
	width: 38px;
}

.wram-dashboard .wram-recruitment-safety-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding: 18px 24px 0;
}

.wram-dashboard .wram-recruitment-safety-grid > div {
	background: #f8faf9;
	border: 1px solid #e0e7e3;
	border-radius: 13px;
	display: grid;
	gap: 4px;
	grid-template-columns: auto 1fr;
	padding: 13px;
}

.wram-dashboard .wram-recruitment-safety-grid i {
	color: #198754;
	font-size: 17px;
	grid-row: span 2;
	margin-top: 2px;
}

.wram-dashboard .wram-recruitment-safety-grid strong { color: #21382d; font-size: 13px; }
.wram-dashboard .wram-recruitment-safety-grid span { color: #66786e; font-size: 11px; line-height: 1.55; }

.wram-dashboard .wram-recruitment-export-box {
	align-items: center;
	background: #f2f7ff;
	border: 1px solid #d6e4f7;
	border-radius: 15px;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin: 16px 24px;
	padding: 16px;
}

.wram-dashboard .wram-recruitment-export-box > div:first-child { display: grid; gap: 3px; }
.wram-dashboard .wram-recruitment-export-box strong { color: #173e66; font-size: 14px; }
.wram-dashboard .wram-recruitment-export-box span { color: #5d7186; font-size: 12px; }
.wram-dashboard .wram-recruitment-export-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.wram-dashboard .wram-recruitment-import-form {
	border-top: 1px solid #e6ebe8;
	padding: 20px 24px 24px;
}

.wram-dashboard .wram-recruitment-import-step {
	display: grid;
	gap: 14px;
	grid-template-columns: auto 1fr;
}

.wram-dashboard .wram-recruitment-step-number {
	align-items: center;
	background: #e7f7ed;
	border: 1px solid #bfe5cd;
	border-radius: 50%;
	color: #167741;
	display: flex;
	font-weight: 900;
	height: 34px;
	justify-content: center;
	width: 34px;
}

.wram-dashboard .wram-recruitment-step-content { display: grid; gap: 10px; min-width: 0; }
.wram-dashboard .wram-recruitment-step-content > strong { color: #213228; font-size: 15px; }
.wram-dashboard .wram-recruitment-step-content > span { color: #68786f; font-size: 12px; }

.wram-dashboard .wram-recruitment-file-picker {
	align-items: center;
	background: #fbfdfc;
	border: 2px dashed #b9cec1;
	border-radius: 14px;
	cursor: pointer;
	display: flex;
	gap: 12px;
	min-height: 76px;
	padding: 15px;
}

.wram-dashboard .wram-recruitment-file-picker:hover { background: #f3fbf6; border-color: #198754; }
.wram-dashboard .wram-recruitment-file-picker input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.wram-dashboard .wram-recruitment-file-picker > i { color: #198754; font-size: 25px; }
.wram-dashboard .wram-recruitment-file-picker span { display: grid; gap: 3px; }
.wram-dashboard .wram-recruitment-file-picker b { color: #244132; font-size: 13px; }
.wram-dashboard .wram-recruitment-file-picker small { color: #718078; font-size: 11px; }

.wram-dashboard .wram-recruitment-preview {
	border-top: 1px solid #e3e9e5;
	margin-top: 20px;
	padding-top: 20px;
}

.wram-dashboard .wram-recruitment-preview-message {
	border-radius: 10px;
	font-size: 12px;
	font-weight: 800;
	margin: 0;
	padding: 11px 13px;
}

.wram-dashboard .wram-recruitment-preview-message.is-safe { background: #e8f7ee; color: #14763a; }
.wram-dashboard .wram-recruitment-preview-message.is-unsafe { background: #fff0ed; color: #ad3825; }

.wram-dashboard .wram-recruitment-preview-counts {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wram-dashboard .wram-recruitment-preview-counts > div {
	background: #f7f9fb;
	border: 1px solid #e1e7ed;
	border-radius: 11px;
	display: grid;
	gap: 2px;
	padding: 11px;
	text-align: center;
}

.wram-dashboard .wram-recruitment-preview-counts strong { color: #1e3449; font-size: 19px; }
.wram-dashboard .wram-recruitment-preview-counts span { color: #6a7c8e; font-size: 11px; }

.wram-dashboard .wram-recruitment-column-checks {
	display: grid;
	gap: 7px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wram-dashboard .wram-recruitment-column-check {
	align-items: flex-start;
	background: #fff;
	border: 1px solid #e0e6e2;
	border-radius: 10px;
	display: grid;
	gap: 3px 8px;
	grid-template-columns: auto 1fr;
	padding: 10px;
}

.wram-dashboard .wram-recruitment-column-check i { grid-row: span 2; margin-top: 2px; }
.wram-dashboard .wram-recruitment-column-check strong { color: #26382e; font-size: 12px; }
.wram-dashboard .wram-recruitment-column-check span { color: #718078; font-size: 10px; line-height: 1.45; }
.wram-dashboard .wram-recruitment-column-check--ok i { color: #198754; }
.wram-dashboard .wram-recruitment-column-check--missing i { color: #c04430; }
.wram-dashboard .wram-recruitment-column-check--calculated i { color: #2474b8; }

.wram-dashboard .wram-recruitment-preview-warnings {
	background: #fff8e9;
	border: 1px solid #f0d9a3;
	border-radius: 11px;
	color: #80520b;
	font-size: 11px;
	line-height: 1.6;
	padding: 11px 13px;
}

.wram-dashboard .wram-recruitment-preview-warnings ul { margin: 0; padding-right: 18px; }

.wram-dashboard .wram-recruitment-preview-table {
	border: 1px solid #e0e6e2;
	border-radius: 12px;
	overflow: auto;
}

.wram-dashboard .wram-recruitment-preview-table table { border-collapse: collapse; min-width: 680px; width: 100%; }
.wram-dashboard .wram-recruitment-preview-table th { background: #f3f7f4; color: #3c5145; font-size: 11px; padding: 9px; text-align: right; }
.wram-dashboard .wram-recruitment-preview-table td { border-top: 1px solid #edf0ee; color: #42534a; font-size: 11px; padding: 9px; }
.wram-dashboard .wram-recruitment-preview-action { border-radius: 999px; display: inline-flex; font-weight: 900; padding: 4px 8px; }
.wram-dashboard .wram-recruitment-preview-action--create { background: #e8f7ee; color: #14763a; }
.wram-dashboard .wram-recruitment-preview-action--update { background: #edf4fb; color: #285f91; }
.wram-dashboard .wram-recruitment-preview-action--skip { background: #fff0ed; color: #ad3825; }

.wram-dashboard .wram-recruitment-confirm-box {
	align-items: center;
	background: #f6faf7;
	border: 1px solid #dbe8df;
	border-radius: 13px;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding: 14px;
}

.wram-dashboard .wram-recruitment-confirm-box > div { display: grid; gap: 2px; }
.wram-dashboard .wram-recruitment-confirm-box strong { color: #273b30; font-size: 13px; }
.wram-dashboard .wram-recruitment-confirm-box span { color: #697a70; font-size: 11px; }
.wram-dashboard .wram-recruitment-import-status { border-radius: 10px; font-size: 12px; font-weight: 800; margin: 14px 0 0; padding: 11px; }
.wram-dashboard .wram-recruitment-import-status.is-success { background: #e8f7ee; color: #14763a; }
.wram-dashboard .wram-recruitment-import-status.is-error { background: #fff0ed; color: #ad3825; }

@media (min-width: 981px) {
	.wram-dashboard .wram-recruitment-table th:first-child,
	.wram-dashboard .wram-recruitment-table td:first-child {
		background: #fff;
		position: sticky;
		right: 0;
		z-index: 3;
	}

	.wram-dashboard .wram-recruitment-table thead th:first-child { background: #edf2f6; z-index: 5; }
}

@media (max-width: 1180px) {
	.wram-dashboard .wram-recruitment-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
	.wram-dashboard .wram-recruitment-kpis,
	.wram-dashboard .wram-recruitment-safety-grid,
	.wram-dashboard .wram-recruitment-column-checks,
	.wram-dashboard .wram-recruitment-preview-counts { grid-template-columns: 1fr 1fr; }

	.wram-dashboard .wram-recruitment-excel-dialog {
		max-height: calc(100vh - 18px);
		width: calc(100vw - 18px);
	}

	.wram-dashboard .wram-recruitment-excel-head { padding: 18px; }
	.wram-dashboard .wram-recruitment-safety-grid { padding: 14px 18px 0; }
	.wram-dashboard .wram-recruitment-export-box { align-items: stretch; flex-direction: column; margin: 14px 18px; }
	.wram-dashboard .wram-recruitment-import-form { padding: 18px; }
	.wram-dashboard .wram-recruitment-confirm-box { align-items: stretch; flex-direction: column; }
}

@media (max-width: 480px) {
	.wram-dashboard .wram-recruitment-kpis,
	.wram-dashboard .wram-recruitment-safety-grid,
	.wram-dashboard .wram-recruitment-column-checks,
	.wram-dashboard .wram-recruitment-preview-counts { grid-template-columns: 1fr; }
	.wram-dashboard .wram-recruitment-excel-head { grid-template-columns: auto 1fr auto; }
	.wram-dashboard .wram-recruitment-excel-icon { height: 42px; width: 42px; }
	.wram-dashboard .wram-recruitment-excel-head h3 { font-size: 17px; }
}

.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--warning {
	background: #fff8ed;
	border-color: #fed7aa;
	border-inline-start-color: #d97706;
}

.wram-dashboard .wram-page-help--warning > i {
	background: #ffedd5;
	color: #b45309;
}

.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-archive-search-control {
	align-items: center;
	background: #f7fafc;
	border: 1px solid #d8e4ef;
	border-radius: 8px;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(190px, auto) minmax(280px, 440px);
	justify-content: space-between;
	margin: 0 0 12px;
	padding: 10px 12px;
	width: 100%;
}

.wram-dashboard .wram-archive-search-control > span {
	align-items: center;
	color: #42566a;
	display: inline-flex;
	font-size: 13px;
	font-weight: 900;
	gap: 8px;
}

.wram-dashboard .wram-archive-search-control > span i {
	color: var(--wram-blue);
}

.wram-dashboard .wram-archive-search-control .wram-search-input {
	margin: 0;
	max-width: 440px;
	width: 100%;
}

@media (max-width: 759px) {
	.wram-dashboard .wram-archive-search-control {
		align-items: stretch;
		grid-template-columns: 1fr;
	}

	.wram-dashboard .wram-archive-search-control .wram-search-input {
		max-width: none;
	}
}

.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-housing-passport-lookup {
	align-items: end;
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(240px, 1fr) auto;
}

.wram-dashboard .wram-housing-passport-lookup[hidden] {
	display: none !important;
}

.wram-dashboard .wram-housing-passport-lookup small {
	color: #64748b;
	font-size: 11px;
	font-weight: 700;
	grid-column: 1 / -1;
}

.wram-dashboard .wram-housing-passport-lookup input {
	background: #fff;
	border: 2px solid #1d4ed8;
	border-radius: 9px;
	font-family: Tajawal, Arial, sans-serif !important;
	font-weight: 800;
	min-height: 42px;
	padding: 8px 10px;
	width: 100%;
}

.wram-dashboard .wram-workflow-field.is-housing-source-field input,
.wram-dashboard .wram-workflow-field.is-housing-source-field select,
.wram-dashboard .wram-workflow-field.is-housing-source-field textarea,
.wram-dashboard .wram-workflow-field input:disabled,
.wram-dashboard .wram-workflow-field select:disabled,
.wram-dashboard .wram-workflow-field textarea:disabled {
	background: #eef2f7 !important;
	border-color: #cbd5e1 !important;
	color: #475569 !important;
	cursor: not-allowed;
	opacity: 1;
}

.wram-dashboard .wram-workflow-field.is-housing-source-field > span:not(.wram-workflow-field-icon)::after {
	color: #64748b;
	content: "  — من متابعة الاستقدام";
	font-size: 10px;
	font-weight: 700;
}

@media (max-width: 680px) {
	.wram-dashboard .wram-housing-passport-lookup {
		grid-template-columns: 1fr;
	}

	.wram-dashboard .wram-housing-passport-lookup small {
		grid-column: auto;
	}
}

.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-period-fields {
	background: #f0fdfa;
	border: 1px solid #99f6e4;
	border-radius: 10px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 12px;
	padding: 10px;
}

.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;
	}
}

/* ==============================================================
   v1.3.50 mobile application shell

   This is the single authoritative responsive layer for the three
   front-end dashboards. Tables intentionally remain semantic tables on
   small screens and are contained by a touch-friendly scroll viewport.
   ============================================================== */
.wram-dashboard .wram-mobile-nav-toggle,
.wram-dashboard .wram-mobile-nav-close,
.wram-dashboard .wram-mobile-nav-backdrop,
.wram-dashboard .wram-mobile-current-section,
.wram-dashboard .wram-page-help-mobile-toggle {
	display: none !important;
}

.wram-action-dialog-message {
	color: #475569;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.75;
	margin: 8px 0 12px;
}

.wram-action-dialog-error {
	background: #fdeceb;
	border-radius: 8px;
	color: #b91c1c;
	font-size: 13px;
	font-weight: 900;
	margin: 9px 0 0;
	padding: 8px 10px;
}

.wram-action-dialog .wram-modal-backdrop {
	border: 0;
	cursor: default;
}

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

.wram-dashboard button.wram-page-button[type="button"],
.wram-dashboard button.wram-page-number[type="button"] {
	-webkit-appearance: none !important;
	align-items: center !important;
	appearance: none !important;
	display: inline-flex !important;
	font-family: inherit !important;
	justify-content: center !important;
	line-height: 1.2 !important;
	margin: 0 !important;
	text-align: center !important;
	text-decoration: none !important;
	text-transform: none !important;
	white-space: nowrap !important;
}

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

.wram-server-result-count {
	color: #64748b;
	flex: 1 0 100%;
	font-size: 12px;
	font-weight: 800;
	text-align: center;
}

.wram-server-state td {
	color: #64748b !important;
	font-weight: 800;
	padding: 22px 12px !important;
	text-align: center !important;
}

.wram-server-state .wram-button-link {
	background: transparent;
	border: 0;
	color: #1769aa;
	cursor: pointer;
	font: inherit;
	margin-inline-start: 6px;
	text-decoration: underline;
}

html.wram-scroll-locked,
body.wram-scroll-locked {
	overflow: hidden !important;
}

@media (max-width: 1023px) {
	.wram-frontend-page {
		overflow-x: clip;
	}

	body.wram-mobile-hide-admin-bar #wpadminbar {
		display: none !important;
	}

	html:has(body.wram-mobile-hide-admin-bar) {
		margin-top: 0 !important;
	}

	.wram-dashboard {
		--wram-mobile-gutter: clamp(8px, 2.6vw, 14px);
		--wram-mobile-header-height: 58px;
		max-width: 100vw !important;
		min-height: 100vh;
		min-height: 100dvh;
		overflow: clip !important;
		padding: var(--wram-mobile-gutter) !important;
	}

	.wram-dashboard .wram-app-shell,
	.wram-dashboard.wram-dashboard--workflow .wram-app-shell {
		display: block !important;
		max-width: 100% !important;
	}

	.wram-dashboard .wram-main {
		max-width: 100% !important;
		min-width: 0 !important;
		width: 100% !important;
	}

	.wram-dashboard .wram-sidebar,
	.wram-dashboard.wram-dashboard--compact .wram-sidebar,
	.wram-dashboard.wram-dashboard--workflow .wram-sidebar,
	.wram-dashboard.wram-housing-dashboard .wram-sidebar {
		border-radius: 0 !important;
		bottom: 0 !important;
		box-shadow: -18px 0 48px rgba(15, 23, 42, .24) !important;
		display: flex !important;
		height: 100vh !important;
		height: 100dvh !important;
		inset-inline-start: auto !important;
		inset-inline-end: 0 !important;
		margin: 0 !important;
		max-height: 100vh !important;
		max-height: 100dvh !important;
		max-width: 330px !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)) !important;
		position: fixed !important;
		right: 0 !important;
		top: 0 !important;
		transform: translateX(108%);
		transition: transform .22s ease, visibility .22s ease !important;
		visibility: hidden;
		width: min(86vw, 330px) !important;
		z-index: 100003 !important;
	}

	.wram-dashboard.is-mobile-nav-open .wram-sidebar {
		transform: translateX(0);
		visibility: visible;
	}

	.wram-dashboard .wram-mobile-nav-backdrop {
		appearance: none;
		background: rgba(15, 23, 42, .58) !important;
		border: 0 !important;
		display: block !important;
		inset: 0;
		opacity: 0;
		pointer-events: none;
		position: fixed;
		transition: opacity .2s ease;
		width: 100%;
		z-index: 100002;
	}

	.wram-dashboard.is-mobile-nav-open .wram-mobile-nav-backdrop {
		opacity: 1;
		pointer-events: auto;
	}

	.wram-dashboard .wram-mobile-nav-toggle,
	.wram-dashboard .wram-mobile-nav-close {
		align-items: center;
		appearance: none !important;
		background: #ffffff !important;
		border: 1px solid #d8e0e7 !important;
		border-radius: 10px !important;
		color: #17324d !important;
		cursor: pointer;
		display: inline-flex !important;
		flex: 0 0 44px;
		font-size: 18px !important;
		height: 44px;
		justify-content: center;
		min-height: 44px !important;
		padding: 0 !important;
		width: 44px;
	}

	.wram-dashboard .wram-mobile-nav-close {
		margin-inline-start: auto;
	}

	.wram-dashboard .wram-sidebar-brand {
		justify-content: flex-start !important;
	}

	.wram-dashboard .wram-sidebar-nav,
	.wram-dashboard .wram-sidebar-footer,
	.wram-dashboard .wram-sidebar-nav-group {
		display: grid !important;
		grid-template-columns: 1fr !important;
	}

	.wram-dashboard .wram-sidebar-link,
	.wram-dashboard button.wram-sidebar-link,
	.wram-dashboard a.wram-sidebar-link {
		justify-content: flex-start !important;
		min-height: 44px !important;
		text-align: start !important;
	}

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

	.wram-dashboard .wram-main-topbar,
	.wram-dashboard.wram-dashboard--compact .wram-main-topbar {
		align-items: center !important;
		display: grid !important;
		gap: 9px !important;
		grid-template-columns: 44px minmax(0, 1fr) !important;
		margin-bottom: 10px !important;
		padding: 7px 9px !important;
		position: sticky !important;
		top: 0;
		z-index: 9000;
	}

	body.admin-bar:not(.wram-mobile-hide-admin-bar) .wram-dashboard .wram-main-topbar {
		top: 46px;
	}

	.wram-dashboard .wram-main-title {
		min-width: 0;
	}

	.wram-dashboard .wram-main-title h2,
	.wram-dashboard.wram-dashboard--compact .wram-main-title h2 {
		display: flex !important;
		font-size: clamp(16px, 4.2vw, 20px) !important;
		line-height: 1.3 !important;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.wram-dashboard .wram-main-title h2,
	.wram-dashboard.wram-dashboard--compact .wram-main-title h2 {
		display: none !important;
	}

	.wram-dashboard .wram-mobile-current-section {
		align-items: center;
		display: flex !important;
		font-size: clamp(16px, 4.2vw, 20px);
		gap: 7px;
		line-height: 1.3;
		min-height: 44px;
		overflow: hidden;
		white-space: nowrap;
	}

	.wram-dashboard .wram-main-title p {
		display: none !important;
	}

	.wram-dashboard .wram-topbar-actions,
	.wram-dashboard.wram-dashboard--compact .wram-topbar-actions {
		display: flex !important;
		gap: 7px !important;
		grid-column: 1 / -1;
		justify-content: flex-start !important;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 1px 0 3px;
		scrollbar-width: none;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
	}

	.wram-dashboard .wram-topbar-actions::-webkit-scrollbar,
	.wram-dashboard .wram-status-filters::-webkit-scrollbar {
		display: none;
	}

	.wram-dashboard .wram-topbar-actions > *,
	.wram-dashboard .wram-status-filters > * {
		flex: 0 0 auto !important;
		width: auto !important;
	}

	.wram-dashboard .wram-panel,
	.wram-dashboard .wram-controls,
	.wram-dashboard .wram-file-panel,
	.wram-dashboard.wram-dashboard--compact .wram-panel,
	.wram-dashboard.wram-dashboard--compact .wram-controls,
	.wram-dashboard.wram-dashboard--compact .wram-file-panel {
		max-width: 100% !important;
		padding: clamp(9px, 2.8vw, 13px) !important;
	}

	.wram-dashboard .wram-page-help--mobile-collapsible,
	.wram-dashboard.wram-dashboard--compact .wram-page-help--mobile-collapsible {
		align-items: center !important;
		display: grid !important;
		grid-template-columns: 34px minmax(0, 1fr) max-content !important;
		min-height: 60px;
	}

	.wram-dashboard .wram-page-help--mobile-collapsible > div {
		min-width: 0;
	}

	.wram-dashboard .wram-page-help--mobile-collapsible.is-mobile-collapsed div > span {
		display: none !important;
	}

	.wram-dashboard button.wram-page-help-mobile-toggle[type="button"],
	.wram-dashboard.wram-dashboard--compact button.wram-page-help-mobile-toggle[type="button"] {
		-webkit-appearance: none !important;
		align-items: center !important;
		align-self: center !important;
		appearance: none !important;
		background: #ffffff !important;
		border: 1px solid #cfd8e3 !important;
		border-radius: 8px !important;
		box-shadow: none !important;
		color: #1f5e9e !important;
		display: inline-flex !important;
		font-family: inherit !important;
		font-size: 11px !important;
		font-weight: 900 !important;
		height: auto !important;
		justify-content: center !important;
		line-height: 1.25 !important;
		margin: 0 !important;
		max-width: 110px !important;
		min-height: 40px !important;
		min-width: 0 !important;
		padding: 6px 9px !important;
		position: static !important;
		text-decoration: none !important;
		text-transform: none !important;
		transform: none !important;
		width: auto !important;
		white-space: nowrap !important;
	}

	.wram-dashboard .wram-panel-head,
	.wram-dashboard .wram-file-panel-head,
	.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-panel-head .wram-search-input,
	.wram-dashboard .wram-panel-head > input,
	.wram-dashboard .wram-panel-head > button {
		max-width: 100% !important;
		width: 100% !important;
	}

	.wram-dashboard .wram-controls,
	.wram-dashboard .wram-controls.wram-salary-controls,
	.wram-dashboard.wram-dashboard--compact .wram-file-actions {
		display: grid !important;
		grid-template-columns: 1fr !important;
	}

	.wram-dashboard .wram-status-filters,
	.wram-dashboard.wram-dashboard--compact .wram-status-filters {
		display: flex !important;
		flex-wrap: nowrap !important;
		gap: 7px !important;
		overflow-x: auto;
		padding: 2px 0 6px;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
	}

	.wram-dashboard .wram-filter-button {
		scroll-snap-align: start;
		white-space: nowrap;
	}

	.wram-dashboard .wram-kpi-grid,
	.wram-dashboard .wram-kpi-grid--tab,
	.wram-dashboard.wram-dashboard--compact .wram-kpi-grid,
	.wram-dashboard.wram-dashboard--compact .wram-kpi-grid--tab,
	.wram-dashboard .wram-recruitment-kpis {
		display: grid !important;
		grid-template-columns: repeat(auto-fit, minmax(min(145px, 100%), 1fr)) !important;
	}

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

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

	.wram-dashboard .wram-table-wrap,
	.wram-dashboard .wram-salary-table-wrap,
	.wram-dashboard .wram-recruitment-preview-table,
	.wram-dashboard .wram-import-diagnostics-table {
		contain: inline-size;
		max-width: 100% !important;
		overflow-x: auto !important;
		overflow-y: visible !important;
		overscroll-behavior-inline: contain;
		position: relative;
		touch-action: pan-x pan-y;
		-webkit-overflow-scrolling: touch;
	}

	.wram-dashboard .wram-table-wrap::before,
	.wram-dashboard .wram-recruitment-preview-table::before,
	.wram-dashboard .wram-import-diagnostics-table::before {
		background: #eff7ff;
		border: 1px solid #cfe4f8;
		border-radius: 7px;
		color: #244b70;
		content: "\2194  \0627\0633\062D\0628  \0644\0639\0631\0636  \0628\0642\064A\0629  \0627\0644\0623\0639\0645\062F\0629";
		display: block;
		font-size: 11px;
		font-weight: 900;
		margin: 7px;
		padding: 6px 9px;
		position: sticky;
		right: 7px;
		text-align: right;
		width: max-content;
		z-index: 8;
	}

	.wram-dashboard .wram-worker-table,
	.wram-dashboard .wram-worker-table--compact,
	.wram-dashboard .wram-workflow-table,
	.wram-dashboard .wram-recruitment-table,
	.wram-dashboard .wram-recruitment-archive-table,
	.wram-dashboard .wram-salary-table,
	.wram-dashboard .wram-import-diagnostics-table table,
	.wram-dashboard .wram-recruitment-preview-table table {
		border-collapse: collapse !important;
		border-spacing: 0 !important;
		display: table !important;
		min-width: max(900px, 100%) !important;
		width: max-content !important;
	}

	.wram-dashboard .wram-import-diagnostics-table table {
		table-layout: fixed !important;
		width: 100% !important;
	}

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

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

	.wram-dashboard .wram-worker-row,
	.wram-dashboard .wram-workflow-row,
	.wram-dashboard .wram-contract-row,
	.wram-dashboard .wram-salary-item-row,
	.wram-dashboard .wram-bucket-row,
	.wram-dashboard .wram-salary-row {
		border: 0 !important;
		display: table-row !important;
		margin: 0 !important;
	}

	.wram-dashboard .wram-worker-row[hidden],
	.wram-dashboard .wram-workflow-row[hidden],
	.wram-dashboard .wram-contract-row[hidden],
	.wram-dashboard .wram-salary-item-row[hidden],
	.wram-dashboard .wram-salary-row[hidden] {
		display: none !important;
	}

	.wram-dashboard .wram-worker-table th,
	.wram-dashboard .wram-worker-table td,
	.wram-dashboard .wram-worker-row td,
	.wram-dashboard .wram-workflow-row td,
	.wram-dashboard .wram-salary-row td {
		background: #ffffff !important;
		border-bottom: 1px solid #d8e0e7 !important;
		border-inline-start: 1px solid #e4e9ee !important;
		color: #17202a !important;
		display: table-cell !important;
		font-size: 12px !important;
		max-width: 260px;
		min-width: 120px;
		padding: 9px 8px !important;
		text-align: center !important;
		vertical-align: middle;
		white-space: nowrap;
		word-break: normal;
	}

	.wram-dashboard .wram-worker-table th {
		background: #eef3f7 !important;
		font-weight: 900 !important;
	}

	.wram-dashboard .wram-worker-row td::before,
	.wram-dashboard .wram-workflow-row td::before {
		display: none !important;
	}

	.wram-dashboard .wram-worker-table th:first-child,
	.wram-dashboard .wram-worker-table td:first-child,
	.wram-dashboard .wram-recruitment-table th:first-child,
	.wram-dashboard .wram-recruitment-table td:first-child {
		box-shadow: -3px 0 8px rgba(15, 23, 42, .08);
		position: sticky !important;
		right: 0 !important;
		z-index: 5 !important;
	}

	.wram-dashboard .wram-worker-table th:first-child {
		background: #e8eef5 !important;
		z-index: 7 !important;
	}

	.wram-dashboard--readonly .wram-worker-table:has(td.wram-row-actions) th:first-child,
	.wram-dashboard--readonly .wram-worker-table:has(td.wram-row-actions) td:first-child {
		box-shadow: none;
		position: static !important;
	}

	.wram-dashboard--readonly .wram-worker-table:has(td.wram-row-actions) th:nth-child(2),
	.wram-dashboard--readonly .wram-worker-table:has(td.wram-row-actions) td:nth-child(2) {
		box-shadow: -3px 0 8px rgba(15, 23, 42, .08);
		position: sticky !important;
		right: 0 !important;
		z-index: 5 !important;
	}

	.wram-dashboard td.wram-row-actions,
	.wram-dashboard.wram-dashboard--compact td.wram-row-actions {
		font-size: 0 !important;
		min-width: 184px !important;
		padding: 6px !important;
		white-space: normal !important;
		width: 184px !important;
	}

	.wram-dashboard td.wram-row-actions .wram-action-button,
	.wram-dashboard.wram-dashboard--compact td.wram-row-actions .wram-action-button {
		display: inline-flex !important;
		font-size: 11px !important;
		height: auto !important;
		margin: 2px !important;
		min-height: 36px !important;
		min-width: 76px !important;
		padding: 6px 7px !important;
		white-space: nowrap !important;
		width: auto !important;
	}

	.wram-dashboard td.wram-row-actions .wram-action-button i {
		font-size: 12px !important;
		margin-inline-end: 4px !important;
	}

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

	.wram-dashboard .wram-results-bar,
	.wram-dashboard .wram-pagination {
		align-items: center !important;
		flex-direction: row !important;
		flex-wrap: wrap;
		justify-content: center !important;
	}

	.wram-dashboard .wram-page-button,
	.wram-dashboard .wram-page-number,
	.wram-dashboard .wram-report-button {
		width: auto !important;
	}

	.wram-dashboard .wram-page-numbers {
		display: flex !important;
		width: auto !important;
	}

	.wram-dashboard .wram-detail-grid dl {
		grid-template-columns: minmax(92px, auto) minmax(0, 1fr);
	}

	.wram-dashboard .wram-detail-grid dd {
		overflow-wrap: anywhere;
	}
}

@media (max-width: 767px) {
	.wram-dashboard input,
	.wram-dashboard select,
	.wram-dashboard textarea,
	.wram-dashboard .wram-search-input,
	.wram-dashboard .wram-modal-dialog input,
	.wram-dashboard .wram-modal-dialog select,
	.wram-dashboard .wram-modal-dialog textarea {
		font-size: 16px !important;
	}

	.wram-dashboard .wram-modal,
	.wram-dashboard.wram-dashboard--compact .wram-modal {
		align-items: flex-end !important;
		padding: 0 !important;
	}

	.wram-dashboard .wram-modal-dialog,
	.wram-dashboard.wram-dashboard--compact .wram-modal-dialog {
		border-radius: 18px 18px 0 0 !important;
		box-sizing: border-box !important;
		margin: 0 !important;
		max-height: 88vh !important;
		max-height: 88dvh !important;
		max-width: none !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		padding: 14px 12px max(12px, env(safe-area-inset-bottom)) !important;
		width: 100% !important;
	}

	.wram-dashboard .wram-modal-dialog--wide,
	.wram-dashboard.wram-dashboard--compact .wram-modal-dialog--wide,
	.wram-dashboard .wram-recruitment-excel-dialog,
	.wram-dashboard .wram-recruitment-record-dialog,
	.wram-dashboard [data-wram-contract-edit-modal] .wram-modal-dialog--wide,
	.wram-dashboard .wram-modal[data-wram-workflow-modal] .wram-modal-dialog--wide {
		border-radius: 0 !important;
		height: 100vh !important;
		height: 100dvh !important;
		max-height: 100vh !important;
		max-height: 100dvh !important;
	}

	.wram-dashboard .wram-modal-dialog > h3,
	.wram-dashboard .wram-recruitment-record-head,
	.wram-dashboard .wram-recruitment-excel-head {
		background: #ffffff;
		position: sticky;
		top: -14px;
		z-index: 8;
	}

	.wram-dashboard .wram-modal-actions,
	.wram-dashboard.wram-dashboard--compact .wram-modal-actions {
		background: #ffffff;
		bottom: calc(-1 * max(12px, env(safe-area-inset-bottom)));
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		padding: 9px 0 max(10px, env(safe-area-inset-bottom));
		position: sticky;
		z-index: 9;
	}

	.wram-dashboard .wram-form-grid,
	.wram-dashboard .wram-detail-grid,
	.wram-dashboard .wram-date-grid,
	.wram-dashboard .wram-workflow-form-grid,
	.wram-dashboard .wram-contract-edit-card-grid {
		grid-template-columns: 1fr !important;
	}

	.wram-dashboard .wram-contract-edit-stepper,
	.wram-dashboard .wram-workflow-wizard {
		display: flex !important;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
	}

	.wram-dashboard .wram-contract-edit-stepper button,
	.wram-dashboard .wram-workflow-step {
		flex: 0 0 min(72vw, 240px);
		scroll-snap-align: start;
	}

	.wram-dashboard .wram-recruitment-standalone-header {
		padding: 13px !important;
	}

	.wram-dashboard .wram-recruitment-standalone-header h2 {
		font-size: 19px !important;
	}

	.wram-dashboard .wram-recruitment-view-switch {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		position: sticky;
		top: 0;
		z-index: 20;
	}

	.wram-login {
		align-items: center;
		min-height: 100vh !important;
		min-height: 100dvh !important;
		padding: max(14px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom)) !important;
	}

	.wram-login .wram-login-panel {
		border-radius: 16px;
		box-shadow: 0 18px 50px rgba(15, 23, 42, .12);
		max-width: 440px;
		padding: clamp(18px, 5vw, 26px);
	}

	.wram-login .login-remember label {
		align-items: center;
		display: flex;
		gap: 8px;
	}

	.wram-login input[type="checkbox"] {
		height: 22px;
		margin: 0;
		width: 22px;
	}
}

@media (max-width: 767px) and (orientation: landscape) {
	.wram-login {
		align-items: flex-start;
	}

	.wram-login .wram-login-panel {
		margin: auto;
		max-width: 560px;
		padding-block: 14px;
	}
}

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

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

@media (prefers-reduced-motion: reduce) {
	.wram-dashboard *,
	.wram-dashboard *::before,
	.wram-dashboard *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}

/* Worker-centric salary matrix: keep workbook columns readable at every size. */
.wram-dashboard .wram-salary-cycle-navigation {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: center;
	margin: 12px 0;
}

.wram-dashboard .wram-salary-cycle-navigation strong {
	background: #eef6ff;
	border: 1px solid #c9def4;
	border-radius: 999px;
	color: #174a78;
	min-width: 150px;
	padding: 8px 14px;
	text-align: center;
}

.wram-dashboard .wram-salary-matrix-wrap {
	direction: rtl;
	max-width: 100%;
	overflow-x: auto !important;
	overscroll-behavior-inline: contain;
	-webkit-overflow-scrolling: touch;
}

.wram-dashboard .wram-salary-matrix-table,
.wram-dashboard.wram-dashboard--compact .wram-salary-matrix-table {
	border-collapse: separate !important;
	border-spacing: 0 !important;
	display: table !important;
	min-width: 4200px !important;
	table-layout: fixed;
	width: 4200px !important;
}

.wram-dashboard .wram-salary-matrix-table thead,
.wram-dashboard .wram-salary-matrix-table tbody {
	display: table-header-group !important;
}

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

.wram-dashboard .wram-salary-matrix-row,
.wram-dashboard .wram-salary-matrix-row:not([hidden]) {
	display: table-row !important;
}

.wram-dashboard .wram-salary-matrix-row[hidden] {
	display: none !important;
}

.wram-dashboard .wram-salary-matrix-table th,
.wram-dashboard .wram-salary-matrix-table td {
	box-sizing: border-box;
	max-width: none !important;
	min-width: 118px !important;
	padding: 8px 6px !important;
	text-align: center !important;
	white-space: nowrap !important;
}

.wram-dashboard .wram-salary-matrix-table thead tr:first-child th[colspan] {
	background: #dbeeff !important;
	border-bottom-color: #a9cbe8 !important;
	color: #174a78 !important;
}

.wram-dashboard .wram-salary-matrix-table .wram-salary-contact-cell--phone {
	min-width: 140px !important;
	width: 140px !important;
}

.wram-dashboard .wram-salary-matrix-table .wram-salary-contact-cell--iban {
	min-width: 200px !important;
	width: 200px !important;
}

.wram-dashboard .wram-salary-matrix-table td.wram-salary-contact-cell {
	overflow: hidden;
	white-space: normal !important;
}

.wram-dashboard .wram-salary-contact-value {
	direction: ltr;
	display: block;
	line-height: 1.35;
	max-width: 100%;
	overflow-wrap: anywhere;
	unicode-bidi: isolate;
	white-space: normal;
}

.wram-dashboard .wram-salary-matrix-table .wram-salary-sticky--number {
	min-width: 58px !important;
	position: sticky !important;
	right: 0 !important;
	width: 58px !important;
	z-index: 7 !important;
}

.wram-dashboard .wram-salary-matrix-table .wram-salary-sticky--name {
	min-width: 190px !important;
	position: sticky !important;
	right: 58px !important;
	width: 190px !important;
	z-index: 6 !important;
}

.wram-dashboard .wram-salary-matrix-table .wram-salary-sticky--name strong {
	display: block;
	line-height: 1.35;
	overflow-wrap: anywhere;
	unicode-bidi: plaintext;
	white-space: normal;
}

.wram-dashboard .wram-salary-matrix-table .wram-salary-sticky--actions {
	box-shadow: -4px 0 9px rgba(15, 23, 42, .12);
	min-width: 146px !important;
	position: sticky !important;
	right: 248px !important;
	width: 146px !important;
	z-index: 5 !important;
}

.wram-dashboard .wram-salary-matrix-table th.wram-salary-sticky--number,
.wram-dashboard .wram-salary-matrix-table th.wram-salary-sticky--name,
.wram-dashboard .wram-salary-matrix-table th.wram-salary-sticky--actions {
	background: #e8eef5 !important;
	z-index: 9 !important;
}

.wram-dashboard .wram-salary-matrix-table td.wram-salary-sticky--number,
.wram-dashboard .wram-salary-matrix-table td.wram-salary-sticky--name,
.wram-dashboard .wram-salary-matrix-table td.wram-salary-sticky--actions {
	background: #fff !important;
}

.wram-dashboard .wram-salary-worker-actions {
	align-items: center;
	display: flex;
	gap: 6px;
	justify-content: center;
	width: 100%;
}

.wram-dashboard .wram-salary-worker-action {
	align-items: center;
	appearance: none;
	background: #edf5fc;
	border: 1px solid #cbddec;
	border-radius: 7px;
	color: #24547d;
	cursor: pointer;
	display: inline-flex;
	flex: 1 1 0;
	font: inherit;
	font-size: 11px;
	font-weight: 900;
	gap: 5px;
	height: 34px;
	justify-content: center;
	line-height: 1;
	min-width: 0;
	padding: 0 7px;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease;
	white-space: nowrap;
}

.wram-dashboard .wram-salary-worker-action.is-stop {
	background: #fff0f0;
	border-color: #f4caca;
	color: #ad2929;
}

.wram-dashboard .wram-salary-worker-action:not([disabled]):hover {
	background: #dcecf9;
	border-color: #9fc2df;
	color: #174a78;
}

.wram-dashboard .wram-salary-worker-action.is-stop:not([disabled]):hover {
	background: #fee2e2;
	border-color: #e9abab;
	color: #941f1f;
}

.wram-dashboard .wram-salary-cell-action {
	align-items: center;
	background: #eef4fa;
	border: 0;
	border-radius: 6px;
	color: #24547d;
	cursor: pointer;
	display: inline-flex;
	height: 25px;
	justify-content: center;
	margin-inline-start: 3px;
	padding: 0;
	width: 25px;
}

.wram-dashboard .wram-salary-cell-action.is-confirm {
	background: #dff7e8;
	color: #16733b;
}

.wram-dashboard .wram-salary-cell-action.is-stop {
	background: #fee7e7;
	color: #a62424;
}

.wram-dashboard .wram-salary-state {
	border-radius: 999px;
	display: inline-flex;
	font-size: 11px;
	font-weight: 800;
	gap: 4px;
	padding: 4px 7px;
}

.wram-dashboard .wram-salary-state.is-paid { background: #daf5e4; color: #146b37; }
.wram-dashboard .wram-salary-state.is-due { background: #fff1c9; color: #875800; }
.wram-dashboard .wram-salary-state.is-overdue { background: #fee0e0; color: #a02121; }
.wram-dashboard .wram-salary-state.is-stopped { background: #e7e9ed; color: #505966; }
.wram-dashboard .wram-salary-state.is-future { background: transparent; color: #9aa4af; }

@media (max-width: 767px) {
	.wram-dashboard .wram-salary-cycle-navigation {
		justify-content: flex-start;
		overflow-x: auto;
	}

	.wram-dashboard .wram-salary-matrix-table,
	.wram-dashboard.wram-dashboard--compact .wram-salary-matrix-table {
		min-width: 4200px !important;
		width: 4200px !important;
	}

	/* Keep only the row number/name frozen so the matrix remains usable on phones. */
	.wram-dashboard .wram-salary-matrix-table .wram-salary-sticky--name {
		box-shadow: -4px 0 9px rgba(15, 23, 42, .12);
	}

	.wram-dashboard .wram-salary-matrix-table .wram-salary-sticky--actions {
		box-shadow: none;
		min-width: 112px !important;
		position: static !important;
		right: auto !important;
		width: 112px !important;
		z-index: auto !important;
	}

	.wram-dashboard .wram-salary-worker-actions {
		flex-direction: column;
		gap: 5px;
	}

	.wram-dashboard .wram-salary-worker-action {
		flex: none;
		height: 40px;
		padding: 0 8px;
		width: 100%;
	}
}

/* Compact, per-row action cells. JavaScript progressively enhances every
 * dashboard table action cell, including rows returned later through AJAX. */
.wram-dashboard th.wram-row-actions-heading,
.wram-dashboard .wram-salary-matrix-table th.wram-salary-sticky--actions.wram-row-actions-heading {
	font-size: 0 !important;
	max-width: 56px !important;
	min-width: 56px !important;
	padding-inline: 4px !important;
	width: 56px !important;
}

.wram-dashboard th.wram-row-actions-heading::after {
	content: "•••";
	font-size: 14px;
	letter-spacing: 2px;
}

.wram-dashboard th.wram-row-actions-heading.wram-row-actions-heading--selectable,
.wram-dashboard td.wram-row-actions--collapsible.wram-row-actions--selectable,
.wram-dashboard.wram-dashboard--compact td.wram-row-actions--collapsible.wram-row-actions--selectable {
	max-width: 86px !important;
	min-width: 86px !important;
	width: 86px !important;
}

.wram-dashboard .wram-row-actions--selectable > .wram-bulk-checkbox {
	display: inline-flex !important;
	font-size: 14px !important;
	justify-content: center;
	margin-inline-end: 6px;
	vertical-align: middle;
}

.wram-dashboard .wram-row-actions--selectable > .wram-bulk-checkbox input[type="checkbox"] {
	accent-color: var(--wram-blue);
	cursor: pointer;
	flex: 0 0 18px;
	height: 18px;
	margin: 0 !important;
	min-height: 18px !important;
	min-width: 18px !important;
	width: 18px;
}

.wram-dashboard td.wram-row-actions.wram-row-actions--collapsible,
.wram-dashboard td.wram-salary-sticky--actions.wram-row-actions--collapsible,
.wram-dashboard.wram-dashboard--compact td.wram-row-actions.wram-row-actions--collapsible {
	display: table-cell !important;
	font-size: 0 !important;
	max-width: 56px !important;
	min-width: 56px !important;
	overflow: visible !important;
	padding: 6px !important;
	text-align: center !important;
	vertical-align: middle !important;
	white-space: nowrap !important;
	width: 56px !important;
}

.wram-dashboard td.wram-row-actions--collapsible.is-expanded,
.wram-dashboard td.wram-salary-sticky--actions.wram-row-actions--collapsible.is-expanded,
.wram-dashboard.wram-dashboard--compact td.wram-row-actions--collapsible.is-expanded {
	max-width: 280px !important;
	min-width: 184px !important;
	width: auto !important;
	z-index: 9999 !important;
}

.wram-dashboard .wram-row-actions-toggle {
	align-items: center;
	appearance: none;
	background: #edf4fa;
	border: 1px solid #c7d9e8;
	border-radius: 9px;
	color: #24547d;
	cursor: pointer;
	display: inline-flex !important;
	font: inherit;
	font-size: 16px !important;
	height: 38px;
	justify-content: center;
	line-height: 1;
	margin: 0;
	padding: 0;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
	width: 38px;
}

.wram-dashboard .wram-row-actions-toggle:hover {
	background: #dcecf9;
	border-color: #8fb8d8;
	color: #174a78;
	transform: translateY(-1px);
}

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

.wram-dashboard .wram-row-actions__content {
	align-items: center;
	display: none !important;
	flex-wrap: wrap;
	font-size: 12px;
	gap: 6px;
	justify-content: center;
	margin-inline-start: 6px;
	vertical-align: middle;
	white-space: normal;
}

.wram-dashboard .wram-row-actions--collapsible.is-expanded .wram-row-actions__content {
	display: inline-flex !important;
}

.wram-dashboard .wram-row-actions--collapsible.is-expanded .wram-salary-worker-actions {
	display: flex !important;
	width: auto !important;
}

@media (max-width: 767px) {
	.wram-dashboard td.wram-row-actions--collapsible.is-expanded,
	.wram-dashboard td.wram-salary-sticky--actions.wram-row-actions--collapsible.is-expanded,
	.wram-dashboard.wram-dashboard--compact td.wram-row-actions--collapsible.is-expanded {
		max-width: 220px !important;
		min-width: 168px !important;
	}
}

/* Salary agenda: one compact worker row containing calendar-style obligations.
 * Paid months are not rendered in the default unprocessed view. */
.wram-dashboard .wram-salary-view-note {
	align-items: center;
	background: #edf7ff;
	border: 1px solid #cfe3f5;
	border-radius: 10px;
	color: #24547d;
	display: flex;
	font-size: 12px;
	font-weight: 800;
	gap: 8px;
	line-height: 1.7;
	margin: 10px 0;
	padding: 9px 12px;
}

.wram-dashboard .wram-salary-view-note i {
	font-size: 17px;
}

.wram-dashboard .wram-salary-agenda-wrap {
	background: #fff;
	border: 1px solid #d8e0e7;
	border-radius: 12px;
	overflow: auto;
}

.wram-dashboard .wram-salary-agenda-table,
.wram-dashboard.wram-dashboard--compact .wram-salary-agenda-table {
	border-collapse: separate !important;
	border-spacing: 0 !important;
	min-width: 960px !important;
	table-layout: auto !important;
	width: 100% !important;
}

.wram-dashboard .wram-salary-agenda-table th,
.wram-dashboard .wram-salary-agenda-table td {
	background: #fff;
	border-bottom: 1px solid #e1e7ed;
	padding: 12px !important;
	text-align: right !important;
	vertical-align: top !important;
	white-space: normal !important;
}

.wram-dashboard .wram-salary-agenda-table thead th {
	background: #edf3f8;
	color: #23384d;
	font-weight: 900;
	vertical-align: middle !important;
}

.wram-dashboard .wram-salary-agenda-table th:first-child,
.wram-dashboard .wram-salary-agenda-table td:first-child {
	max-width: 56px;
	min-width: 56px;
	width: 56px;
}

.wram-dashboard .wram-salary-agenda-table th:nth-child(2),
.wram-dashboard .wram-salary-agenda-table td:nth-child(2) {
	min-width: 245px;
	width: 245px;
}

.wram-dashboard .wram-salary-agenda-table th:nth-child(3),
.wram-dashboard .wram-salary-agenda-table td:nth-child(3) {
	min-width: 230px;
	width: 230px;
}

.wram-dashboard .wram-salary-agenda-table th:nth-child(4),
.wram-dashboard .wram-salary-agenda-table td:nth-child(4) {
	min-width: 420px;
}

.wram-dashboard .wram-salary-agenda-row:hover > td {
	background: #fbfdff;
}

.wram-dashboard .wram-salary-agenda-actions,
.wram-dashboard .wram-salary-agenda-row:hover > td.wram-salary-agenda-actions {
	background: #fff !important;
	text-align: center !important;
	vertical-align: middle !important;
}

.wram-dashboard .wram-salary-worker-summary,
.wram-dashboard .wram-salary-payment-summary {
	color: #24384d;
}

.wram-dashboard .wram-salary-worker-title {
	align-items: center;
	display: flex;
	gap: 9px;
	margin-bottom: 9px;
}

.wram-dashboard .wram-salary-worker-title strong {
	font-size: 13px;
	font-weight: 900;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.wram-dashboard .wram-salary-worker-number {
	align-items: center;
	background: #eaf3fb;
	border-radius: 999px;
	color: #24547d;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 11px;
	font-weight: 900;
	height: 28px;
	justify-content: center;
	min-width: 28px;
	padding: 0 7px;
}

.wram-dashboard .wram-salary-worker-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-bottom: 8px;
}

.wram-dashboard .wram-salary-worker-chips span {
	align-items: center;
	background: #f3f6f9;
	border: 1px solid #dfe6ed;
	border-radius: 999px;
	display: inline-flex;
	font-size: 10px;
	font-weight: 800;
	gap: 4px;
	padding: 3px 7px;
}

.wram-dashboard .wram-salary-worker-summary > small {
	align-items: center;
	color: #68798a;
	display: flex;
	font-size: 10.5px;
	font-weight: 700;
	gap: 5px;
}

.wram-dashboard .wram-salary-payment-summary {
	display: grid !important;
	gap: 8px;
}

.wram-dashboard .wram-salary-payment-summary > span {
	align-items: center;
	background: #f8fafc;
	border: 1px solid #e0e7ee;
	border-radius: 8px;
	display: grid;
	font-size: 11px;
	gap: 3px 7px;
	grid-template-columns: 18px 45px minmax(0, 1fr);
	min-height: 38px;
	padding: 7px 8px;
}

.wram-dashboard .wram-salary-payment-summary i {
	color: #3975a9;
	text-align: center;
}

.wram-dashboard .wram-salary-payment-summary b {
	font-size: 10.5px;
	font-weight: 900;
}

.wram-dashboard .wram-salary-payment-summary span[dir="ltr"] {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wram-dashboard .wram-salary-calendar {
	display: grid;
	gap: 9px;
	grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
}

.wram-dashboard .wram-salary-due-card {
	background: #f8fbfd;
	border: 1px solid #dce6ee;
	border-inline-start: 4px solid #6d91af;
	border-radius: 10px;
	display: grid;
	gap: 7px;
	min-height: 128px;
	padding: 10px;
}

.wram-dashboard .wram-salary-due-card.is-overdue {
	background: #fff7f7;
	border-color: #f0caca;
	border-inline-start-color: #c83b3b;
}

.wram-dashboard .wram-salary-due-card.is-due {
	background: #fffaf0;
	border-color: #eed6a2;
	border-inline-start-color: #c08318;
}

.wram-dashboard .wram-salary-due-card.is-due_soon,
.wram-dashboard .wram-salary-due-card.is-pending {
	background: #f2f8fd;
	border-color: #cfe1f0;
	border-inline-start-color: #3975a9;
}

.wram-dashboard .wram-salary-due-card.is-paid {
	background: #f1fbf5;
	border-color: #c8ead6;
	border-inline-start-color: #18864b;
}

.wram-dashboard .wram-salary-due-card header {
	align-items: center;
	display: flex;
	gap: 7px;
	justify-content: space-between;
}

.wram-dashboard .wram-salary-due-card header span {
	align-items: center;
	display: inline-flex;
	font-size: 11px;
	font-weight: 900;
	gap: 5px;
}

.wram-dashboard .wram-salary-due-card header em {
	background: #e7eef4;
	border-radius: 999px;
	color: #40566a;
	font-size: 10px;
	font-style: normal;
	font-weight: 900;
	padding: 3px 7px;
}

.wram-dashboard .wram-salary-due-card.is-overdue header em { background: #fee0e0; color: #a02121; }
.wram-dashboard .wram-salary-due-card.is-due header em { background: #fff0c7; color: #875800; }
.wram-dashboard .wram-salary-due-card.is-due_soon header em,
.wram-dashboard .wram-salary-due-card.is-pending header em { background: #dfeefb; color: #24547d; }
.wram-dashboard .wram-salary-due-card.is-paid header em { background: #d8f3e3; color: #146b37; }

.wram-dashboard .wram-salary-due-card time {
	color: #5d6f80;
	direction: ltr;
	font-size: 11px;
	font-weight: 800;
	text-align: right;
}

.wram-dashboard .wram-salary-due-card > strong {
	color: #172b3d;
	font-size: 14px;
	font-weight: 900;
}

.wram-dashboard .wram-salary-due-card > small {
	color: #708191;
	font-size: 10px;
	font-weight: 700;
}

.wram-dashboard .wram-salary-calendar-action {
	align-items: center;
	appearance: none;
	background: #18864b;
	border: 1px solid #18864b;
	border-radius: 7px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 10.5px;
	font-weight: 900;
	gap: 5px;
	justify-content: center;
	min-height: 32px;
	padding: 5px 8px;
}

.wram-dashboard .wram-salary-calendar-action.is-undo {
	background: #fff;
	border-color: #b7c9d9;
	color: #315c82;
}

.wram-dashboard .wram-salary-agenda-empty,
.wram-dashboard .wram-salary-stopped-notice {
	align-items: center;
	background: #f5f8fa;
	border: 1px dashed #cbd8e3;
	border-radius: 9px;
	color: #637585;
	display: flex;
	font-size: 11px;
	font-weight: 800;
	gap: 7px;
	min-height: 56px;
	padding: 10px;
}

.wram-dashboard .wram-salary-stopped-notice {
	align-items: flex-start;
	color: #8d3131;
	flex-direction: column;
}

/* Expanding one row expands the table's action column as a real table column,
 * preventing WordPress/theme cell widths from clipping the buttons. */
.wram-dashboard table.wram-table--actions-expanded th.wram-row-actions-heading,
.wram-dashboard table.wram-table--actions-expanded td.wram-row-actions--collapsible,
.wram-dashboard.wram-dashboard--compact table.wram-table--actions-expanded td.wram-row-actions--collapsible {
	max-width: 236px !important;
	min-width: 236px !important;
	width: 236px !important;
}

.wram-dashboard table.wram-table--actions-expanded th.wram-row-actions-heading {
	font-size: 12px !important;
}

.wram-dashboard table.wram-table--has-bulk-select.wram-table--actions-expanded th.wram-row-actions-heading,
.wram-dashboard table.wram-table--has-bulk-select.wram-table--actions-expanded td.wram-row-actions--collapsible,
.wram-dashboard.wram-dashboard--compact table.wram-table--has-bulk-select.wram-table--actions-expanded td.wram-row-actions--collapsible {
	max-width: 270px !important;
	min-width: 270px !important;
	width: 270px !important;
}

.wram-dashboard table.wram-table--actions-expanded th.wram-row-actions-heading::after {
	display: none;
}

.wram-dashboard td.wram-row-actions--collapsible,
.wram-dashboard td.wram-salary-agenda-actions.wram-row-actions--collapsible {
	background: #fff !important;
}

@media (max-width: 767px) {
	.wram-dashboard .wram-salary-agenda-table,
	.wram-dashboard.wram-dashboard--compact .wram-salary-agenda-table {
		min-width: 850px !important;
		width: 850px !important;
	}

	.wram-dashboard .wram-salary-agenda-table th:nth-child(2),
	.wram-dashboard .wram-salary-agenda-table td:nth-child(2) {
		min-width: 220px;
		width: 220px;
	}

	.wram-dashboard .wram-salary-agenda-table th:nth-child(3),
	.wram-dashboard .wram-salary-agenda-table td:nth-child(3) {
		min-width: 205px;
		width: 205px;
	}

	.wram-dashboard .wram-salary-agenda-table th:nth-child(4),
	.wram-dashboard .wram-salary-agenda-table td:nth-child(4) {
		min-width: 365px;
	}

	.wram-dashboard .wram-salary-calendar {
		grid-template-columns: minmax(165px, 1fr);
	}

	/* Every dashboard action column is first/right. It is the only sticky
	 * column on phones and its cells remain white in every row state. */
	.wram-dashboard table.wram-table--has-actions th,
	.wram-dashboard table.wram-table--has-actions td {
		box-shadow: none !important;
		left: auto !important;
		position: static !important;
		right: auto !important;
	}

	.wram-dashboard table.wram-table--has-actions th:first-child,
	.wram-dashboard table.wram-table--has-actions td:first-child {
		background: #fff !important;
		box-shadow: -4px 0 10px rgba(15, 23, 42, .12) !important;
		left: auto !important;
		position: sticky !important;
		right: 0 !important;
		z-index: 8 !important;
	}

	.wram-dashboard table.wram-table--has-actions th:first-child {
		z-index: 10 !important;
	}

	.wram-dashboard table.wram-table--actions-expanded th.wram-row-actions-heading,
	.wram-dashboard table.wram-table--actions-expanded td.wram-row-actions--collapsible,
	.wram-dashboard.wram-dashboard--compact table.wram-table--actions-expanded td.wram-row-actions--collapsible {
		max-width: 190px !important;
		min-width: 190px !important;
		width: 190px !important;
	}

	.wram-dashboard table.wram-table--actions-expanded .wram-row-actions__content {
		align-items: stretch;
		flex-direction: column;
		max-width: 126px;
		width: 126px;
	}

	.wram-dashboard table.wram-table--actions-expanded .wram-row-actions__content > .wram-action-button,
	.wram-dashboard table.wram-table--actions-expanded .wram-row-actions__content > a.wram-action-button {
		margin: 2px 0 !important;
		min-width: 0 !important;
		width: 100% !important;
	}

	.wram-dashboard table.wram-table--actions-expanded .wram-row-actions__content .wram-salary-worker-actions {
		width: 100% !important;
	}

	.wram-dashboard .wram-salary-view-note {
		align-items: flex-start;
	}
}

/* Contracts: keep expanded row actions in an even, predictable grid. This is
 * deliberately limited to the contracts tab so other action tables retain
 * their purpose-built layouts. */
@media (min-width: 768px) {
	.wram-dashboard table.wram-contracts-table.wram-table--actions-expanded th.wram-row-actions-heading,
	.wram-dashboard table.wram-contracts-table.wram-table--actions-expanded td.wram-row-actions--collapsible {
		max-width: 236px !important;
		min-width: 236px !important;
		width: 236px !important;
	}

	.wram-dashboard table.wram-contracts-table.wram-table--actions-expanded .wram-row-actions__content {
		align-items: stretch !important;
		display: inline-grid !important;
		gap: 6px !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-inline-start: 6px !important;
		max-width: 158px !important;
		vertical-align: middle;
		width: 158px !important;
	}

	.wram-dashboard table.wram-contracts-table.wram-table--actions-expanded .wram-row-actions__content > .wram-action-button,
	.wram-dashboard table.wram-contracts-table.wram-table--actions-expanded .wram-row-actions__content > a.wram-action-button {
		margin: 0 !important;
		max-width: none !important;
		min-width: 0 !important;
		width: 100% !important;
	}

	.wram-dashboard table.wram-contracts-table .wram-row-actions-toggle {
		margin: 0 !important;
		vertical-align: middle;
	}
}

@media (max-width: 767px) {
	.wram-dashboard table.wram-contracts-table.wram-table--actions-expanded .wram-row-actions__content {
		align-items: stretch !important;
		display: inline-grid !important;
		gap: 6px !important;
		grid-template-columns: minmax(0, 1fr);
	}

	.wram-dashboard table.wram-contracts-table.wram-table--actions-expanded .wram-row-actions__content > .wram-action-button,
	.wram-dashboard table.wram-contracts-table.wram-table--actions-expanded .wram-row-actions__content > a.wram-action-button {
		margin: 0 !important;
	}
}

/* Worker residence attachments: private preview and upload surface. */
.wram-dashboard .wram-worker-name-cell {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.wram-dashboard button.wram-worker-residence-trigger,
.wram-dashboard [type="button"].wram-worker-residence-trigger {
	align-items: center !important;
	appearance: none !important;
	background: #eef3f7 !important;
	border: 1px solid #cbd7e2 !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	color: #526477 !important;
	cursor: pointer !important;
	display: inline-flex !important;
	font-family: inherit !important;
	font-size: 10px !important;
	font-weight: 900 !important;
	gap: 5px !important;
	line-height: 1 !important;
	margin: 0 !important;
	min-height: 26px !important;
	padding: 5px 9px !important;
	text-align: center !important;
	transition: border-color .18s ease, background-color .18s ease, transform .18s ease !important;
	white-space: nowrap !important;
}

.wram-dashboard button.wram-worker-residence-trigger.has-document {
	background: #e7f7f1 !important;
	border-color: #93d8bf !important;
	color: #087254 !important;
}

.wram-dashboard button.wram-worker-residence-trigger:hover,
.wram-dashboard button.wram-worker-residence-trigger:focus-visible {
	border-color: #1f5e9e !important;
	transform: translateY(-1px);
}

.wram-dashboard .wram-worker-modal-tabs {
	background: #eef3f7;
	border: 1px solid #d8e0e7;
	border-radius: 9px;
	display: grid;
	gap: 5px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 0 14px;
	padding: 5px;
}

.wram-dashboard button.wram-worker-modal-tab,
.wram-dashboard [type="button"].wram-worker-modal-tab {
	align-items: center !important;
	appearance: none !important;
	background: transparent !important;
	border: 1px solid transparent !important;
	border-radius: 7px !important;
	box-shadow: none !important;
	color: #526477 !important;
	cursor: pointer !important;
	display: inline-flex !important;
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 900 !important;
	gap: 8px !important;
	justify-content: center !important;
	line-height: 1.35 !important;
	margin: 0 !important;
	min-height: 44px !important;
	padding: 8px 12px !important;
	text-align: center !important;
	white-space: normal !important;
}

.wram-dashboard button.wram-worker-modal-tab.is-active {
	background: #fff !important;
	border-color: #c9d8e6 !important;
	box-shadow: 0 4px 12px rgba(31, 94, 158, .09) !important;
	color: #1f5e9e !important;
}

.wram-dashboard .wram-worker-document-badge {
	background: #dfe6ed;
	border-radius: 999px;
	color: #5d6d7d;
	font-size: 9px;
	font-weight: 900;
	line-height: 1;
	padding: 4px 7px;
}

.wram-dashboard .wram-worker-document-badge.is-attached {
	background: #d8f3e7;
	color: #087254;
}

.wram-dashboard .wram-worker-document-badge.is-pending {
	background: #fff0c9;
	color: #8a5a00;
}

.wram-dashboard .wram-worker-modal-panel[hidden],
.wram-dashboard .wram-worker-document-empty[hidden],
.wram-dashboard .wram-worker-document-card[hidden],
.wram-dashboard .wram-worker-document-preview img[hidden],
.wram-dashboard .wram-worker-document-preview iframe[hidden] {
	display: none !important;
}

.wram-dashboard .wram-worker-document-panel {
	min-height: 320px;
}

.wram-dashboard .wram-worker-document-heading {
	align-items: center;
	background: #eef7ff;
	border: 1px solid #cfe5f7;
	border-radius: 9px;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 12px;
	padding: 12px 14px;
}

.wram-dashboard .wram-worker-document-heading div {
	display: grid;
	gap: 3px;
}

.wram-dashboard .wram-worker-document-heading strong {
	color: #174f82;
	font-size: 14px;
}

.wram-dashboard .wram-worker-document-heading span {
	color: #5d7083;
	font-size: 11px;
	font-weight: 700;
}

.wram-dashboard .wram-worker-document-heading > i {
	color: #14956f;
	font-size: 24px;
}

.wram-dashboard .wram-worker-document-empty {
	align-items: center;
	background: #f8fafc;
	border: 1px dashed #b8c8d7;
	border-radius: 10px;
	color: #637487;
	display: flex;
	flex-direction: column;
	gap: 7px;
	justify-content: center;
	min-height: 190px;
	padding: 24px;
	text-align: center;
}

.wram-dashboard .wram-worker-document-empty i {
	color: #8aa0b5;
	font-size: 34px;
}

.wram-dashboard .wram-worker-document-empty strong {
	color: #31475c;
	font-size: 14px;
}

.wram-dashboard .wram-worker-document-empty span {
	font-size: 11px;
	font-weight: 700;
}

.wram-dashboard .wram-worker-document-card {
	background: #f8fafc;
	border: 1px solid #d4dee7;
	border-radius: 10px;
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(0, 1.55fr) minmax(230px, .75fr);
	overflow: hidden;
	padding: 12px;
}

.wram-dashboard .wram-worker-document-preview {
	align-items: center;
	background: #e9eef3;
	border: 1px solid #d1dbe4;
	border-radius: 8px;
	display: flex;
	justify-content: center;
	min-height: 360px;
	overflow: hidden;
}

.wram-dashboard .wram-worker-document-preview img,
.wram-dashboard .wram-worker-document-preview iframe {
	background: #fff;
	border: 0 !important;
	display: block;
	height: 360px;
	margin: 0;
	max-width: 100%;
	object-fit: contain;
	padding: 0;
	width: 100%;
}

.wram-dashboard .wram-worker-document-meta {
	align-content: start;
	display: grid;
	gap: 8px;
	padding: 8px 2px;
}

.wram-dashboard .wram-worker-document-meta > strong {
	color: #1c3044;
	font-size: 14px;
	overflow-wrap: anywhere;
	text-align: start;
	unicode-bidi: plaintext;
}

.wram-dashboard .wram-worker-document-meta > span {
	color: #647689;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.8;
}

.wram-dashboard .wram-worker-document-actions {
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr;
	margin-top: 8px;
}

.wram-dashboard .wram-worker-document-uploader {
	align-items: center;
	background: #f4fbf8 !important;
	border: 1px dashed #83ccb3 !important;
	border-radius: 10px !important;
	cursor: pointer;
	display: grid !important;
	gap: 3px;
	grid-template-columns: auto 1fr;
	margin: 12px 0 0 !important;
	padding: 12px 14px !important;
}

.wram-dashboard .wram-worker-document-uploader input[type="file"] {
	display: none !important;
}

.wram-dashboard .wram-worker-document-uploader-icon {
	align-items: center;
	background: #dff4eb;
	border-radius: 8px;
	color: #087254;
	display: inline-flex;
	font-size: 20px;
	grid-row: 1 / span 2;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.wram-dashboard .wram-worker-document-uploader strong {
	color: #1c4c3d;
	font-size: 13px;
}

.wram-dashboard .wram-worker-document-uploader small {
	color: #60776f;
	font-size: 10px;
	font-weight: 700;
	overflow-wrap: anywhere;
	text-align: start;
	unicode-bidi: plaintext;
}

.wram-dashboard .wram-modal-actions > :only-child {
	grid-column: 1 / -1;
}

.wram-dashboard--readonly [data-wram-worker-form] input[readonly] {
	background: #f7f9fb !important;
	color: #25384a !important;
	cursor: default;
}

@media (max-width: 767px) {
	.wram-dashboard .wram-worker-document-card {
		grid-template-columns: 1fr;
	}

	.wram-dashboard .wram-worker-document-preview,
	.wram-dashboard .wram-worker-document-preview img,
	.wram-dashboard .wram-worker-document-preview iframe {
		height: 260px;
		min-height: 260px;
	}

	.wram-dashboard .wram-worker-modal-tabs {
		grid-template-columns: 1fr;
	}
}

/* Contract follow-up colors: keep the complete row visible at a glance. */
.wram-dashboard .wram-contract-row.wram-contract-row--expired td {
	background: #f8d7da !important;
	border-bottom-color: #e6aeb4 !important;
	color: #7f1d1d !important;
}

.wram-dashboard .wram-contract-row.wram-contract-row--expired:hover td {
	background: #f2c4c8 !important;
}

.wram-dashboard .wram-contract-row.wram-contract-row--expired td:first-child {
	border-inline-start-color: #c62828 !important;
}

.wram-dashboard .wram-contract-row.wram-contract-row--due-today-or-one-day td {
	background: #fff1a8 !important;
	border-bottom-color: #e6cb58 !important;
	color: #664d03 !important;
}

.wram-dashboard .wram-contract-row.wram-contract-row--due-today-or-one-day:hover td {
	background: #f9e58b !important;
}

.wram-dashboard .wram-contract-row.wram-contract-row--due-today-or-one-day td:first-child {
	border-inline-start-color: #d89b00 !important;
}

.wram-dashboard .wram-contract-row.wram-contract-row--expired td::before,
.wram-dashboard .wram-contract-row.wram-contract-row--due-today-or-one-day td::before {
	color: inherit !important;
}

/* Temporary worker holds. */
.wram-dashboard .wram-worker-row--on-hold td {
	background: #fff4d6 !important;
	border-bottom-color: #e8c568 !important;
	color: #684d0d !important;
}

.wram-dashboard .wram-worker-row--on-hold td:first-child {
	border-inline-start: 4px solid #d59600 !important;
}

.wram-dashboard .wram-status-badge--on-hold {
	background: #f4b400;
	border-color: #c88a00;
	color: #312100;
}

.wram-dashboard .wram-worker-hold-reason {
	display: block;
	font-size: 10px;
	font-weight: 800;
	margin-top: 5px;
	max-width: 180px;
}

/* Recruitment nationality and bulk controls. */
.wram-dashboard .wram-recruitment-toolbar,
.wram-dashboard .wram-recruitment-bulk {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.wram-dashboard .wram-recruitment-toolbar {
	background: #f7fafc;
	border: 1px solid #d7e1e8;
	border-radius: 12px;
	justify-content: space-between;
	margin: 10px 0;
	padding: 10px;
}

.wram-dashboard .wram-recruitment-toolbar label {
	align-items: center;
	display: flex;
	font-size: 12px;
	font-weight: 800;
	gap: 7px;
}

.wram-dashboard .wram-recruitment-toolbar select {
	min-height: 38px;
	min-width: 190px;
}

.wram-dashboard .wram-bulk-checkbox {
	align-items: center;
	display: inline-flex;
	gap: 5px;
}

.wram-dashboard .wram-recruitment-bulk-arrival-list {
	display: grid;
	gap: 8px;
	margin: 15px 0;
	max-height: 55vh;
	overflow: auto;
}

.wram-dashboard .wram-recruitment-bulk-arrival-row {
	align-items: center;
	background: #f3fbf7;
	border: 1px solid #b9ddcc;
	border-radius: 10px;
	display: flex;
	justify-content: space-between;
	padding: 10px;
}

.wram-dashboard .wram-recruitment-bulk-arrival-row span,
.wram-dashboard .wram-recruitment-bulk-arrival-row small {
	display: block;
}

.wram-dashboard .wram-recruitment-bulk-arrival-row.is-ineligible {
	background: #fff0f0;
	border-color: #e6b6b6;
	color: #991b1b;
}

.wram-dashboard .wram-recruitment-import-arrivals {
	align-items: center;
	display: flex;
	gap: 7px;
	margin-top: 10px;
}

/* Existing-worker CV library. */
.wram-dashboard .wram-worker-cv-row td {
	vertical-align: middle;
}

.wram-dashboard .wram-worker-cv-picker {
	background: #f7fafc;
	border: 1px dashed #9fb6c5;
	border-radius: 12px;
	margin-top: 14px;
	padding: 14px;
}

.wram-dashboard .wram-worker-cv-current {
	align-items: center;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 12px;
	display: flex;
	gap: 10px;
	margin: 12px 0;
	padding: 12px;
}

.wram-dashboard .wram-worker-cv-current[hidden] {
	display: none;
}

.wram-dashboard .wram-worker-cv-current > i,
.wram-dashboard .wram-worker-cv-file i {
	color: #dc2626;
}

.wram-dashboard .wram-worker-cv-current > div {
	display: grid;
	flex: 1;
	gap: 3px;
}

.wram-dashboard .wram-worker-cv-current span {
	color: #526173;
	font-size: 12px;
	overflow-wrap: anywhere;
}

.wram-dashboard .wram-worker-cv-file,
.wram-dashboard .wram-worker-cv-missing {
	align-items: center;
	display: inline-flex;
	gap: 6px;
}

.wram-dashboard .wram-worker-cv-missing {
	color: #7c8797;
}

@media (max-width: 767px) {
	.wram-dashboard .wram-recruitment-toolbar,
	.wram-dashboard .wram-recruitment-bulk,
	.wram-dashboard .wram-recruitment-bulk-arrival-row {
		align-items: stretch;
		flex-direction: column;
	}

	.wram-dashboard .wram-recruitment-toolbar select {
		min-width: 0;
		width: 100%;
	}
}

/* Compact recruitment overview: totals first, related details together. */
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi-section{margin:0 0 16px;min-width:0}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:14px 0 8px;flex-wrap:wrap}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi-heading h3{font-size:14px;font-weight:800;color:#243c53;margin:0}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi-heading p{font-size:11px;color:#61768b;margin:0}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-overdue-alert{width:100%;display:flex;align-items:center;gap:10px;min-width:0;min-height:46px;padding:8px 12px;margin:0 0 8px;border:1px solid #efc1c1;border-inline-start:3px solid #c62828;border-radius:10px;background:#fff3f3;color:#991b1b;text-align:start;font:inherit;cursor:pointer;box-shadow:none;line-height:1.5}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-overdue-alert>i{font-size:15px;flex:none}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-overdue-alert>strong{font-size:22px;line-height:1.2;font-weight:800;font-variant-numeric:tabular-nums;flex:none}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-overdue-alert>span{font-size:12px;font-weight:600;min-width:0}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-overdue-alert>em{margin-inline-start:auto;display:flex;align-items:center;gap:7px;flex:none;font-size:11px;font-style:normal;font-weight:700;white-space:nowrap}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-overdue-alert:hover{background:#ffe9e9;border-color:#df9999}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-overdue-alert:focus-visible{outline:3px solid #b91c1c;outline-offset:3px}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px;margin:0}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi{display:flex;min-width:0;min-height:76px;box-sizing:border-box;padding:10px 12px;gap:10px;border:1px solid #dbe4ec;border-radius:10px;background:#fff;box-shadow:none;align-items:center}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi>i{display:flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;font-size:14px;border-radius:8px}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi>span{display:flex;flex-direction:column;min-width:0;flex:1;gap:3px}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi small{font-size:12px;line-height:1.4;font-weight:600;color:#52677c;white-space:normal}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi strong{font-size:26px;line-height:1.1;font-weight:800;color:#173f63;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi--blue{background:#f1f6fc;border-color:#c4d7ea}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi--housing{background:#eff8f5;border-color:#c3dfd5}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi--housing>i{color:#148271;background:#dcf0e8}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi--housing strong{color:#116a58}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi-details{display:grid;grid-template-columns:2fr 3fr;gap:8px;margin-top:8px}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-metric-group{min-width:0;background:#fff;border:1px solid #dbe4ec;border-radius:10px;padding:8px 12px 10px}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-metric-group h4{font-size:11px;font-weight:700;line-height:1.4;color:#52677c;margin:0 0 5px}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-metric-items{display:flex;align-items:stretch}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-metric{display:flex;align-items:baseline;gap:8px;flex:1;min-width:0;padding-inline:12px}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-metric:first-child{padding-inline-start:0}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-metric:last-child{padding-inline-end:0}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-metric+.wram-recruitment-metric{border-inline-start:1px solid #e6ecf2}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-metric strong{font-size:21px;line-height:1.3;font-weight:800;color:#243c53;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-metric span{font-size:11px;line-height:1.5;color:#52677c}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-metric--green strong{color:#116a58}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-metric--amber strong{color:#925600}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-metric--red strong{color:#b32929}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi-note{font-size:10px;line-height:1.5;margin:6px 2px 0;color:#61768b;display:flex;align-items:baseline;gap:6px}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi-note i{color:#148271;flex:none}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-view-switch button.is-active{background:#173f63!important;color:#fff!important;border-color:#173f63!important}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-view-switch button.is-active span,.wram-dashboard.wram-recruitment-standalone .wram-recruitment-view-switch button.is-active i{color:#fff!important}
.wram-dashboard.wram-recruitment-standalone .wram-recruitment-view-switch button.is-active b{background:#ffffff26;color:#fff}
@media(max-width:1000px){
 .wram-dashboard.wram-recruitment-standalone .wram-recruitment-metric{flex-direction:column;gap:1px;padding-inline:9px}
}
@media(max-width:600px){
 .wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi-heading{margin-top:12px}
 .wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi-heading p{display:none}
 .wram-dashboard.wram-recruitment-standalone .wram-recruitment-overdue-alert{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;gap:7px;padding:9px 10px;min-height:54px}
 .wram-dashboard.wram-recruitment-standalone .wram-recruitment-overdue-alert>span{font-size:11px}
 .wram-dashboard.wram-recruitment-standalone .wram-recruitment-overdue-alert>em{font-size:0;gap:0}
 .wram-dashboard.wram-recruitment-standalone .wram-recruitment-overdue-alert>em i{font-size:13px}
 .wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px}
 .wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi{padding:9px 10px;gap:8px;min-height:70px}
 .wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi>i{width:26px;height:26px;font-size:12px}
 .wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi small{font-size:11px}
 .wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi strong{font-size:24px}
 .wram-dashboard.wram-recruitment-standalone .wram-recruitment-kpi-details{grid-template-columns:1fr;gap:7px;margin-top:7px}
 .wram-dashboard.wram-recruitment-standalone .wram-recruitment-metric-group{padding:7px 10px 8px}
 .wram-dashboard.wram-recruitment-standalone .wram-recruitment-metric-group--visa .wram-recruitment-metric{flex-direction:row;align-items:baseline;gap:8px}
 .wram-dashboard.wram-recruitment-standalone .wram-recruitment-metric strong{font-size:20px}
 .wram-dashboard.wram-recruitment-standalone .wram-recruitment-metric span{font-size:10px}
}

/* Shared identity and explicit physical housing presence. */
.wram-worker-identity-box,.wram-worker-housing-box{margin:0 0 20px;padding:16px;border:1px solid #cbded8;border-radius:12px;background:#f5faf8;line-height:1.7}
.wram-worker-identity-box>strong,.wram-worker-housing-box>strong{display:block;font-size:16px;color:#184b3e}
.wram-worker-identity-box>p,.wram-worker-housing-box>p{margin:6px 0 12px;color:#4c625b}
.wram-worker-identity-search{display:flex;flex-wrap:wrap;gap:12px;align-items:end}
.wram-worker-identity-search>label{flex:1 1 160px;min-width:0;display:flex;flex-direction:column;gap:5px}
.wram-worker-identity-search input,.wram-worker-housing-box input,.wram-worker-housing-box select{width:100%;min-width:0;box-sizing:border-box}
.wram-worker-identity-search>[hidden]{display:none!important}
.wram-worker-movement-reason{grid-column:1/-1}
.wram-worker-housing-presence{display:block;margin-top:6px;font-size:12px;white-space:normal;color:#52616b}
.wram-worker-identity-box [data-wram-worker-identity-status].is-error{color:#a52230}
.wram-worker-identity-box [data-wram-worker-identity-status]{margin-bottom:0}
@media(max-width:600px){.wram-worker-identity-search>label,.wram-worker-identity-search>button{flex-basis:100%;width:100%}.wram-worker-identity-box,.wram-worker-housing-box{padding:12px}.wram-worker-housing-box .wram-form-grid{grid-template-columns:1fr}}

.wram-dashboard [data-wram-worker-housing-fields][hidden],.wram-dashboard [data-wram-worker-identity-lookup][hidden]{display:none!important}
.wram-dashboard [data-wram-worker-modal] .wram-modal-dialog{box-sizing:border-box!important}
.wram-dashboard [data-wram-worker-modal]{z-index:100005}
/* Keep the worker editor below WordPress's optional administrator toolbar. */
body.admin-bar .wram-dashboard [data-wram-worker-modal]{top:32px}
body.admin-bar .wram-dashboard [data-wram-worker-modal] .wram-modal-dialog{max-height:calc(100dvh - 52px)!important}
@media(max-width:782px){body.admin-bar .wram-dashboard [data-wram-worker-modal]{top:46px}body.admin-bar .wram-dashboard [data-wram-worker-modal] .wram-modal-dialog{height:auto!important;max-height:calc(100dvh - 46px)!important}}
@media(max-width:1023px){body.admin-bar.wram-mobile-hide-admin-bar .wram-dashboard [data-wram-worker-modal]{top:0}body.admin-bar.wram-mobile-hide-admin-bar .wram-dashboard [data-wram-worker-modal] .wram-modal-dialog{max-height:100dvh!important}}

/* Recruitment: independent cancellation archive and two-month arrival warning. */
.wram-dashboard.wram-recruitment-standalone{box-sizing:border-box;max-width:100%}
.wram-dashboard .wram-recruitment-view-switch{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.wram-dashboard .wram-recruitment-view-switch button{min-width:0;font-family:inherit;line-height:1.5}
.wram-dashboard .wram-recruitment-row--arrival-overdue>td{background:#fff0f0!important;border-bottom-color:#f1b7b7!important}
.wram-dashboard .wram-recruitment-row--arrival-overdue:hover>td{background:#ffe3e3!important}
.wram-dashboard .wram-recruitment-row--arrival-overdue>td:first-child{border-inline-start:4px solid #c62828}
.wram-dashboard .wram-recruitment-arrival-warning{display:flex;align-items:center;gap:6px;margin-top:5px;color:#a61b1b;font-size:11px;font-weight:700;white-space:normal;line-height:1.6}
.wram-dashboard .wram-filter-button--arrival-overdue{color:#a61b1b;border-color:#efb4b4}
.wram-dashboard .wram-recruitment-cancelled-intro{background:#f6f7fa;border-color:#cfd6e3;color:#42546c}
.wram-dashboard .wram-recruitment-cancelled-intro>i{background:#e9edf4;color:#52647c}
.wram-dashboard .wram-recruitment-cancelled-badge{display:inline-block;background:#fce8e8;color:#991b1b;padding:4px 10px;border-radius:7px;font-weight:700}
.wram-dashboard .wram-recruitment-archived-contracts-table{min-width:1250px}
@media(max-width:700px){
 .wram-dashboard .wram-recruitment-view-switch{grid-template-columns:1fr!important;gap:5px}
 .wram-dashboard .wram-recruitment-view-switch button{justify-content:flex-start;padding:10px 12px;font-size:12px}
 .wram-dashboard .wram-recruitment-view-switch button b{margin-inline-start:auto}
}
