:root {
	--hc-primary: #3f7de3;
	--hc-primary-strong: #2f68c6;
	--hc-primary-soft: #edf4ff;
	--hc-ink: #0f172a;
	--hc-success: #3f7de3;
	--hc-muted: #64748b;
	--hc-muted-light: #94a3b8;
	--hc-border: #d7e2f4;
	--hc-surface: #f5f9ff;
	--hc-surface-muted: #fbfcff;
	--hc-primary-rgb: 63, 125, 227;
	--hc-success-rgb: 63, 125, 227;
	--hc-ink-rgb: 15, 23, 42;
	--hc-topbar-bg: rgba(255, 255, 255, 0.84);
	--hc-topbar-border: rgba(15, 23, 42, 0.06);
	--hc-topbar-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
	--hc-topbar-accent: linear-gradient(135deg, rgba(var(--hc-primary-rgb), 0.14) 0%, rgba(var(--hc-primary-rgb), 0.04) 100%);
	--hc-sidebar-bg: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
	--hc-sidebar-shadow: 18px 0 36px rgba(var(--hc-ink-rgb), 0.04);
	--hc-main-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 248, 253, 0.98) 100%);
}

:root[data-hc-palette="blue"] {
	--hc-primary: #3f7de3;
	--hc-primary-strong: #2f68c6;
	--hc-primary-soft: #edf4ff;
	--hc-border: #d7e2f4;
	--hc-surface: #f5f9ff;
	--hc-primary-rgb: 63, 125, 227;
	--hc-success: #3f7de3;
	--hc-success-rgb: 63, 125, 227;
	--hc-topbar-accent: linear-gradient(135deg, rgba(63, 125, 227, 0.16) 0%, rgba(63, 125, 227, 0.04) 100%);
	--hc-sidebar-bg: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
	--hc-main-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(242, 247, 255, 0.99) 100%);
}

:root[data-hc-palette="sage"] {
	--hc-primary: #5f9b78;
	--hc-primary-strong: #4a7f61;
	--hc-primary-soft: #eef7f1;
	--hc-border: #d8e6dc;
	--hc-surface: #f7fbf8;
	--hc-primary-rgb: 95, 155, 120;
	--hc-success: #5f9b78;
	--hc-success-rgb: 95, 155, 120;
	--hc-topbar-accent: linear-gradient(135deg, rgba(95, 155, 120, 0.16) 0%, rgba(95, 155, 120, 0.04) 100%);
	--hc-sidebar-bg: linear-gradient(180deg, #ffffff 0%, #f5faf6 100%);
	--hc-main-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(243, 249, 245, 0.99) 100%);
}

:root[data-hc-palette="clay"] {
	--hc-primary: #9c735a;
	--hc-primary-strong: #7f5c46;
	--hc-primary-soft: #f7f1ed;
	--hc-border: #e7dbd3;
	--hc-surface: #fcf8f5;
	--hc-primary-rgb: 156, 115, 90;
	--hc-success: #9c735a;
	--hc-success-rgb: 156, 115, 90;
	--hc-topbar-accent: linear-gradient(135deg, rgba(156, 115, 90, 0.14) 0%, rgba(156, 115, 90, 0.04) 100%);
	--hc-sidebar-bg: linear-gradient(180deg, #ffffff 0%, #fbf7f4 100%);
	--hc-main-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(250, 245, 241, 0.99) 100%);
}

:root[data-hc-palette="teal"] {
	--hc-primary: #4f9faa;
	--hc-primary-strong: #3f838d;
	--hc-primary-soft: #eef8f9;
	--hc-border: #d6e7e9;
	--hc-surface: #f6fbfb;
	--hc-primary-rgb: 79, 159, 170;
	--hc-success: #4f9faa;
	--hc-success-rgb: 79, 159, 170;
	--hc-topbar-accent: linear-gradient(135deg, rgba(79, 159, 170, 0.15) 0%, rgba(79, 159, 170, 0.04) 100%);
	--hc-sidebar-bg: linear-gradient(180deg, #ffffff 0%, #f4fafb 100%);
	--hc-main-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(242, 249, 250, 0.99) 100%);
}

:root[data-hc-palette="graphite"] {
	--hc-primary: #44556f;
	--hc-primary-strong: #334257;
	--hc-primary-soft: #f1f4f8;
	--hc-border: #d9e0e8;
	--hc-surface: #f7f9fb;
	--hc-primary-rgb: 68, 85, 111;
	--hc-success: #44556f;
	--hc-success-rgb: 68, 85, 111;
	--hc-topbar-accent: linear-gradient(135deg, rgba(68, 85, 111, 0.16) 0%, rgba(68, 85, 111, 0.04) 100%);
	--hc-sidebar-bg: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
	--hc-main-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(243, 246, 249, 0.99) 100%);
}

body,
.app-default {
	background-color: var(--hc-surface);
	color: var(--hc-ink);
}

.text-primary,
.menu-link.text-primary,
a.text-primary {
	color: var(--hc-primary) !important;
}

.text-muted,
.text-gray-500,
.text-gray-600,
.text-gray-700 {
	color: var(--hc-muted) !important;
}

.text-gray-800,
.text-gray-900,
.text-dark {
	color: var(--hc-ink) !important;
}

a {
	color: var(--hc-primary);
}

a:hover {
	color: var(--hc-primary-strong);
}

.app-header,
.app-sidebar,
.bg-dark,
[data-kt-app-layout="dark-header"] .app-header,
[data-kt-app-layout="dark-sidebar"] .app-sidebar {
	background-color: var(--hc-ink) !important;
}

.app-header .menu-link,
.app-sidebar .menu-link,
.app-header .menu-title,
.app-sidebar .menu-title,
.app-header .text-gray-800,
.app-sidebar .text-gray-800 {
	color: #f8fafc !important;
}

.app-header .app-navbar .menu-sub,
.app-header .app-navbar .menu-sub .menu-link,
.app-header .app-navbar .menu-sub .menu-title,
.app-header .app-navbar .menu-sub .menu-content,
.app-header .app-navbar .menu-sub .text-muted,
.app-header .app-navbar .menu-sub .text-gray-800,
.app-header .app-navbar .menu-sub .text-gray-900,
.app-header .app-navbar .menu-sub .fw-semibold,
.app-header .app-navbar .menu-sub .fw-bold {
	color: var(--hc-ink) !important;
}

.app-header .app-navbar .menu-sub .menu-link:hover,
.app-header .app-navbar .menu-sub .menu-link:hover .menu-title,
.app-header .app-navbar .menu-sub .text-hover-primary:hover {
	color: var(--hc-primary) !important;
}

.app-header .app-navbar .menu-sub .menu-link {
	border-radius: 0.75rem;
	transition: background-color 0.16s ease, color 0.16s ease;
}

.app-header .app-navbar .menu-sub .menu-link:hover,
.app-header .app-navbar .menu-sub .menu-link:focus-visible {
	background-color: rgba(var(--hc-primary-rgb), 0.08) !important;
	color: var(--hc-primary) !important;
}

.app-header .app-navbar .menu-sub .menu-link:hover .menu-title,
.app-header .app-navbar .menu-sub .menu-link:focus-visible .menu-title,
.app-header .app-navbar .menu-sub .menu-link:hover .text-muted,
.app-header .app-navbar .menu-sub .menu-link:focus-visible .text-muted {
	color: var(--hc-primary) !important;
}

.app-header .menu-link:hover,
.app-sidebar .menu-link:hover,
.app-header .menu-link.active,
.app-sidebar .menu-link.active,
.app-header .menu-link:hover .menu-title,
.app-sidebar .menu-link:hover .menu-title {
	color: #ffffff !important;
}

.menu-here-bg .menu-link,
.menu-link.active,
.menu-item .menu-link.active,
.nav-link.active,
.nav-pills .nav-link.active,
.nav-tabs .nav-link.active {
	background-color: rgba(var(--hc-primary-rgb), 0.1) !important;
	color: var(--hc-primary) !important;
}

.btn.btn-primary,
.btn-primary {
	background: var(--hc-primary) !important;
	border-color: var(--hc-primary) !important;
	color: #fff !important;
	box-shadow: none !important;
}

.btn.btn-primary:hover,
.btn-primary:hover,
.btn.btn-primary:focus,
.btn-primary:focus {
	background: var(--hc-primary-strong) !important;
	border-color: var(--hc-primary-strong) !important;
	box-shadow: 0 0 0 0.2rem rgba(var(--hc-primary-rgb), 0.14) !important;
}

.btn.btn-primary:active,
.btn-primary:active {
	background: var(--hc-primary-strong) !important;
	border-color: var(--hc-primary-strong) !important;
	box-shadow: none !important;
}

.btn.btn-light-primary,
.btn-light-primary {
	background-color: rgba(var(--hc-primary-rgb), 0.08) !important;
	border-color: rgba(var(--hc-primary-rgb), 0.12) !important;
	color: var(--hc-primary) !important;
}

.btn.btn-light-primary:hover,
.btn-light-primary:hover,
.btn.btn-light-primary:focus,
.btn-light-primary:focus {
	background-color: var(--hc-primary) !important;
	border-color: var(--hc-primary) !important;
	color: #ffffff !important;
}

.btn.btn-light-success,
.btn-light-success {
	background-color: rgba(var(--hc-success-rgb), 0.12) !important;
	border-color: rgba(var(--hc-success-rgb), 0.16) !important;
	color: var(--hc-success) !important;
}

.btn.btn-secondary,
.btn-secondary,
.btn.btn-light,
.btn-light {
	border-color: var(--hc-border) !important;
	color: var(--hc-ink) !important;
	background-color: #fff !important;
}

.btn.btn-danger,
.btn-danger {
	box-shadow: none !important;
}

.btn {
	border-radius: 0.8rem;
	font-weight: 600;
	letter-spacing: 0;
}

.btn.btn-sm,
.btn-group-sm>.btn {
	border-radius: 0.7rem;
}

.btn.btn-light:hover,
.btn.btn-secondary:hover,
.btn-light:hover,
.btn-secondary:hover {
	background-color: #f8fafc !important;
	border-color: #cfd8e3 !important;
}

.badge.badge-light-primary,
.badge-light-primary {
	background-color: rgba(var(--hc-primary-rgb), 0.1) !important;
	color: var(--hc-primary) !important;
}

.badge.badge-light-success,
.badge-light-success {
	background-color: rgba(var(--hc-success-rgb), 0.12) !important;
	color: var(--hc-success) !important;
}

.badge.badge-light-warning,
.badge-light-warning {
	background-color: rgba(245, 158, 11, 0.14) !important;
	color: #b45309 !important;
}

.badge.badge-light-danger,
.badge-light-danger {
	background-color: rgba(239, 68, 68, 0.12) !important;
	color: #dc2626 !important;
}

.card {
	border: 1px solid var(--hc-border);
	border-radius: 1.1rem;
	box-shadow: 0 12px 28px rgba(var(--hc-ink-rgb), 0.04);
	background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.card.shadow,
.card.shadow-sm,
.card.shadow-lg {
	box-shadow: 0 12px 28px rgba(var(--hc-ink-rgb), 0.04) !important;
}

.card-header {
	border-bottom-color: var(--hc-border) !important;
	background: transparent;
}

.bg-secondary {
	background-color: #f7faff !important;
}

.form-control,
.form-select,
.input-group-text {
	border-color: #d5dee8;
	color: var(--hc-ink);
	background-color: #fff;
	border-radius: 0.8rem;
}

.form-control:focus,
.form-select:focus {
	border-color: rgba(var(--hc-primary-rgb), 0.4);
	box-shadow: 0 0 0 0.2rem rgba(var(--hc-primary-rgb), 0.12);
}

.form-control.is-invalid,
.form-select.is-invalid {
	border-color: #dc2626;
	box-shadow: 0 0 0 0.15rem rgba(220, 38, 38, 0.1);
}

.page-title,
h1,
h2,
h3,
h4,
h5,
h6,
.fw-bold,
.fw-bolder {
	color: var(--hc-ink);
}

.symbol.symbol-circle,
.symbol img,
.image-input-wrapper {
	background-color: #fff;
}

.hc-page-heading {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.hc-page-heading__title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1.15;
	color: var(--hc-ink);
}

.hc-page-heading__description {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--hc-muted);
	max-width: 54rem;
}

.hc-toolbar-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.hc-admin-panel {
	border: 1px solid var(--hc-border);
	border-radius: 1.1rem;
	background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
	box-shadow: 0 12px 28px rgba(var(--hc-ink-rgb), 0.04);
}

.hc-admin-panel__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 1.25rem 0;
	border-bottom: 0;
	background: transparent;
}

.hc-admin-panel__heading {
	min-width: 0;
}

.hc-admin-panel__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
	color: var(--hc-ink);
}

.hc-admin-panel__copy {
	margin: 0.35rem 0 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--hc-muted);
}

.hc-admin-panel__heading--compact .hc-admin-panel__title {
	margin-bottom: 0.15rem;
	font-size: 1.02rem;
}

.hc-admin-panel__heading--compact .hc-admin-panel__copy {
	font-size: 0.88rem;
}

.hc-admin-panel__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem;
	flex-wrap: wrap;
	flex-shrink: 0;
}

.hc-admin-panel__header--actions-only {
	justify-content: flex-end;
}

.hc-admin-panel__body {
	padding: 1.25rem;
}

.menu-sub-dropdown,
.dropdown-menu,
.modal-content {
	border: 1px solid rgba(var(--hc-ink-rgb), 0.08);
	box-shadow: 0 18px 40px rgba(var(--hc-ink-rgb), 0.08);
	background-color: #fff;
}

.modal-content {
	border-radius: 1rem;
}

.nav-tabs,
.nav-pills {
	gap: 0.35rem;
}

.nav-tabs .nav-link,
.nav-pills .nav-link {
	border-radius: 0.8rem;
	color: #64748b;
	border-color: transparent;
	font-weight: 700;
	padding: 0.78rem 1rem;
}

.nav-tabs .nav-link:hover,
.nav-pills .nav-link:hover {
	background-color: rgba(255, 255, 255, 0.7);
	color: var(--hc-primary);
}

.nav.nav-tabs.nav-pills,
.hc-segmented-tabs {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.3rem;
	border-radius: 0.95rem;
	background: #f5f7fb;
	border: 1px solid #e3e8f1;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.nav.nav-tabs.nav-pills .nav-link.active,
.hc-segmented-tabs .nav-link.active,
.hc-segmented-tabs .nav-link.show,
.hc-segmented-tabs .show > .nav-link {
	background: #ffffff !important;
	color: #22314f !important;
	box-shadow: 0 1px 2px rgba(var(--hc-ink-rgb), 0.05), 0 8px 18px rgba(var(--hc-ink-rgb), 0.04);
}

.nav.nav-tabs.nav-pills.flex-md-column {
	display: flex;
	width: 100%;
	align-items: stretch;
}

.nav.nav-tabs.nav-pills.flex-md-column .nav-link {
	width: 100%;
	text-align: left;
}

.hc-forms-nav.nav.nav-tabs.nav-pills {
	gap: 0.18rem;
	padding: 0.22rem;
	border-radius: 0.85rem;
}

.hc-forms-nav.nav.nav-tabs.nav-pills .nav-link {
	padding: 0.5rem 0.7rem;
	border-radius: 0.68rem;
	font-size: 0.84rem;
	font-weight: 600;
	line-height: 1.25;
}

.hc-forms-nav.nav.nav-tabs.nav-pills .nav-link i {
	font-size: 0.95rem !important;
	margin-right: 0.3rem !important;
}

.hc-forms-nav.nav.nav-tabs.nav-pills.flex-md-column .nav-link {
	white-space: normal;
	overflow: visible;
	text-overflow: initial;
}

.hc-module-tabs {
	display: inline-flex;
	align-items: flex-end;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #dde5f0;
}

.hc-module-tabs .nav-item {
	margin-bottom: -1px;
}

.hc-module-tabs .nav-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 108px;
	padding: 0.9rem 1.15rem 0.82rem;
	border: 1px solid transparent;
	border-bottom: 0;
	border-radius: 1rem 1rem 0 0;
	background: transparent;
	color: #8a96ad;
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1;
}

.hc-module-tabs .nav-link:hover {
	background: rgba(255, 255, 255, 0.7);
	color: #5b6780;
}

.hc-module-tabs .nav-link.active,
.hc-module-tabs .nav-link.show,
.hc-module-tabs .show > .nav-link {
	background: #ffffff !important;
	border-color: #dde5f0 !important;
	color: #24324f !important;
	box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.8), 0 12px 20px rgba(var(--hc-ink-rgb), 0.04);
}

.hc-module-tabs .nav-link.active::after,
.hc-module-tabs .nav-link.show::after,
.hc-module-tabs .show > .nav-link::after {
	content: "";
	position: absolute;
	left: 0.9rem;
	right: 0.9rem;
	bottom: 0.32rem;
	height: 3px;
	border-radius: 999px;
	background: var(--hc-primary);
}

.table {
	--bs-table-bg: transparent;
	--bs-table-striped-bg: #fbfcff;
	--bs-table-hover-bg: #f7f9fe;
	color: var(--hc-ink);
}

.table thead th {
	border-bottom-color: var(--hc-border) !important;
	color: var(--hc-muted);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	background-color: #fbfcfe;
}

.table td,
.table th {
	border-color: #e8eef5 !important;
	vertical-align: middle;
}

.table-hover tbody tr:hover {
	color: var(--hc-ink);
}

.table-dark,
.table-dark>th,
.table-dark>td,
thead.table-dark th {
	background-color: #f8fafc !important;
	color: var(--hc-ink) !important;
	border-color: var(--hc-border) !important;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
	border: 1px solid #d5dee8;
	border-radius: 0.8rem;
	background-color: #fff;
	color: var(--hc-ink);
}

.dataTables_wrapper .dataTables_filter input:focus,
.dataTables_wrapper .dataTables_length select:focus {
	outline: 0;
	border-color: rgba(var(--hc-primary-rgb), 0.4);
	box-shadow: 0 0 0 0.2rem rgba(var(--hc-primary-rgb), 0.12);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
	background: rgba(var(--hc-primary-rgb), 0.1) !important;
	border-color: rgba(var(--hc-primary-rgb), 0.12) !important;
	color: var(--hc-primary) !important;
}

.hc-shell,
.hc-main,
.hc-main__body {
	min-height: 0;
}

html,
body {
	height: 100%;
}

body#kt_app_body {
	overflow: hidden;
}

.hc-shell {
	height: 100vh;
	display: flex;
	overflow: hidden;
}

.hc-topbar__start {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.hc-topbar__tenant {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
	padding: 0.55rem 0.85rem;
	border: 1px solid rgba(var(--hc-ink-rgb), 0.08);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.7);
	box-shadow: 0 10px 24px rgba(var(--hc-ink-rgb), 0.035);
}

.hc-topbar__tenant-label {
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hc-muted);
	white-space: nowrap;
}

.hc-topbar__tenant-name {
	min-width: 0;
	max-width: 24rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--hc-ink);
}

.hc-sidebar-toggle,
.hc-sidebar-close {
	border: 0;
	background: transparent;
	color: #334155;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.hc-sidebar-toggle {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 0.9rem;
	background-color: rgba(var(--hc-primary-rgb), 0.09);
	color: var(--hc-primary);
	font-size: 1.4rem;
	display: none;
}

.hc-sidebar-toggle:hover,
.hc-sidebar-close:hover {
	background-color: rgba(var(--hc-primary-rgb), 0.14);
	color: var(--hc-primary);
}

.hc-sidebar-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	font-size: 1rem;
	display: none;
	z-index: 2;
}

.hc-sidebar-overlay {
	display: none;
}

.hc-sidebar {
	width: 272px;
	flex: 0 0 272px;
	background: var(--hc-sidebar-bg);
	color: var(--hc-ink);
	display: flex;
	flex-direction: column;
	position: sticky;
	top: 0;
	height: 100vh;
	border-right: 1px solid rgba(var(--hc-ink-rgb), 0.08);
	box-shadow: var(--hc-sidebar-shadow);
}

.hc-sidebar__brand {
	padding: 0;
	border-bottom: 1px solid rgba(var(--hc-ink-rgb), 0.08);
	background-color: rgba(255, 255, 255, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 116px;
	position: relative;
}

.hc-sidebar__brand img {
	display: block;
	width: min(240px, 100%);
	max-width: 240px;
	max-height: 104px;
	object-fit: contain;
	height: auto;
	margin: 0 auto;
}

.hc-sidebar__nav {
	flex: 1 1 auto;
	padding: 1.1rem 0.9rem;
	overflow-y: auto;
}

.hc-sidebar__nav .menu {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.hc-menu-group {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.hc-menu-group + .hc-menu-group {
	margin-top: 0.85rem;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(var(--hc-ink-rgb), 0.06);
}

.hc-menu-group__label {
	padding: 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #94a3b8;
}

.hc-sidebar__nav .menu-link {
	border-radius: 0.75rem;
	padding: 0.9rem 1rem 0.9rem 1.15rem;
	min-height: 46px;
	color: #334155 !important;
	background-color: transparent !important;
	transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
	display: flex;
	align-items: center;
	gap: 0.85rem;
	border-left: 3px solid transparent;
}

.hc-sidebar__nav .menu-link .menu-title {
	color: inherit !important;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.2;
}

.hc-sidebar__nav .menu-link .hc-menu-icon {
	width: 1.25rem;
	height: 1.25rem;
	flex: 0 0 1.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 0;
	background-color: transparent;
	color: var(--hc-muted);
	font-size: 1rem;
	transition: inherit;
}

.hc-sidebar__nav .menu-link:hover {
	background-color: rgba(var(--hc-primary-rgb), 0.05) !important;
	color: var(--hc-primary) !important;
	border-left-color: rgba(var(--hc-primary-rgb), 0.35);
}

.hc-sidebar__nav .menu-link:hover .hc-menu-icon {
	color: var(--hc-primary);
}

.hc-sidebar__nav .menu-link.active,
.hc-sidebar__nav .menu-item .menu-link.active {
	background: rgba(var(--hc-primary-rgb), 0.08) !important;
	color: var(--hc-primary) !important;
	border-left-color: var(--hc-primary);
	box-shadow: none;
}

.hc-sidebar__nav .menu-link.active .hc-menu-icon,
.hc-sidebar__nav .menu-item .menu-link.active .hc-menu-icon {
	background: transparent;
	color: var(--hc-primary);
	box-shadow: none;
	opacity: 1;
}

.hc-sidebar__nav .menu-link.active .hc-menu-icon i,
.hc-sidebar__nav .menu-item .menu-link.active .hc-menu-icon i {
	color: var(--hc-primary) !important;
}

.hc-sidebar__nav .menu-link.is-disabled {
	color: #94a3b8 !important;
	cursor: default;
	pointer-events: none;
	background-color: rgba(148, 163, 184, 0.05) !important;
}

.hc-sidebar__nav .menu-link.is-disabled .hc-menu-icon {
	background-color: transparent;
	color: #94a3b8;
	box-shadow: none;
}

.hc-main {
	min-width: 0;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	height: 100vh;
	overflow: hidden;
	background: var(--hc-main-bg);
}

.hc-topbar {
	position: sticky;
	top: 0;
	z-index: 105;
	background:
		var(--hc-topbar-accent),
		var(--hc-topbar-bg);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--hc-topbar-border);
	box-shadow: var(--hc-topbar-shadow);
}

.hc-topbar__inner {
	min-height: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1720px;
	width: 100%;
	margin: 0 auto;
	padding: 0 2rem;
	gap: 1rem;
}

.hc-topbar__search {
	position: relative;
	flex: 1 1 34rem;
	max-width: 36rem;
}

.hc-topbar__search-icon {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: #7b8aa6;
	font-size: 0.95rem;
	pointer-events: none;
}

.hc-topbar__search-input {
	width: 100%;
	height: 2.95rem;
	padding: 0 1rem 0 2.75rem;
	border: 1px solid rgba(var(--hc-ink-rgb), 0.08);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.86);
	box-shadow: 0 10px 24px rgba(var(--hc-ink-rgb), 0.04);
	color: var(--hc-ink);
	font-size: 0.95rem;
}

.hc-topbar__search-input:focus {
	outline: none;
	border-color: rgba(var(--hc-primary-rgb), 0.2);
	box-shadow: 0 0 0 4px rgba(var(--hc-primary-rgb), 0.08);
}

.hc-global-search-dropdown {
	position: absolute;
	top: calc(100% + 0.65rem);
	left: 0;
	right: 0;
	padding: 0.9rem;
	border: 1px solid var(--hc-border);
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 20px 44px rgba(var(--hc-ink-rgb), 0.1);
	backdrop-filter: blur(14px);
	z-index: 120;
	max-height: 70vh;
	overflow-y: auto;
}

.hc-global-search-dropdown__state {
	padding: 0.6rem 0.45rem;
	font-size: 0.9rem;
	color: var(--hc-muted);
}

.hc-global-search-dropdown__section + .hc-global-search-dropdown__section {
	margin-top: 0.9rem;
	padding-top: 0.9rem;
	border-top: 1px solid rgba(var(--hc-ink-rgb), 0.06);
}

.hc-global-search-dropdown__section-label {
	margin-bottom: 0.55rem;
	padding: 0 0.45rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hc-muted);
}

.hc-global-search-dropdown__section-results {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.hc-global-search-dropdown__result {
	display: block;
	padding: 0.75rem 0.85rem;
	border: 1px solid transparent;
	border-radius: 0.9rem;
	text-decoration: none;
	background: transparent;
}

.hc-global-search-dropdown__result:hover {
	border-color: rgba(var(--hc-primary-rgb), 0.12);
	background: rgba(var(--hc-primary-rgb), 0.05);
}

.hc-global-search-dropdown__result.is-disabled {
	cursor: default;
	background: rgba(var(--hc-ink-rgb), 0.02);
}

.hc-global-search-dropdown__result-title {
	font-size: 0.93rem;
	font-weight: 700;
	color: var(--hc-ink);
}

.hc-global-search-dropdown__result-meta {
	margin-top: 0.2rem;
	font-size: 0.83rem;
	color: var(--hc-muted);
}

.hc-topbar__controls {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-left: auto;
}

.hc-palette-switcher {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	padding: 0.55rem 0.7rem;
	border: 1px solid rgba(var(--hc-ink-rgb), 0.08);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 10px 26px rgba(var(--hc-ink-rgb), 0.04);
}

.hc-palette-switcher__label {
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hc-muted);
	white-space: nowrap;
}

.hc-palette-switcher__options {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.hc-palette-switcher__swatch {
	width: 1.45rem;
	height: 1.45rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.hc-palette-switcher__swatch::before {
	content: "";
	width: 1rem;
	height: 1rem;
	border-radius: 999px;
	background: var(--palette-color, var(--hc-primary));
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.hc-palette-switcher__swatch:hover {
	transform: translateY(-1px);
}

.hc-palette-switcher__swatch.is-active {
	box-shadow: 0 0 0 2px rgba(var(--hc-primary-rgb), 0.12);
	background: rgba(var(--hc-primary-rgb), 0.08);
}

.hc-palette-switcher__swatch:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(var(--hc-primary-rgb), 0.18);
}

.hc-palette-switcher__swatch[data-palette="blue"] {
	--palette-color: #3f7de3;
}

.hc-palette-switcher__swatch[data-palette="sage"] {
	--palette-color: #5f9b78;
}

.hc-palette-switcher__swatch[data-palette="clay"] {
	--palette-color: #9c735a;
}

.hc-palette-switcher__swatch[data-palette="teal"] {
	--palette-color: #4f9faa;
}

.hc-palette-switcher__swatch[data-palette="graphite"] {
	--palette-color: #44556f;
}

.hc-main__body {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	padding: 1.5rem 2rem 0;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
}

.hc-main__body .app-main {
	width: min(100%, 1720px);
	max-width: 1720px;
	margin: 0 auto !important;
	flex: 0 0 auto;
}

.hc-main .app-main,
[data-kt-app-sidebar-fixed="true"] .hc-main .app-main,
[data-kt-app-sidebar-push-toolbar="true"] .hc-main .app-main,
[data-kt-app-sidebar-push-footer="true"] .hc-main .app-main,
[data-kt-app-aside-enabled="true"] .hc-main .app-main,
[data-kt-app-header-fixed="true"] .hc-main .app-main {
	margin-left: auto !important;
	margin-right: auto !important;
	width: min(100%, 1720px);
}

.hc-main__body .app-content,
.hc-main__body .app-container,
.hc-main__body .container,
.hc-main__body .container-xxl,
.hc-main__body .container-xl,
.hc-main__body .container-lg,
.hc-main__body .container-fluid {
	max-width: 1720px !important;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.hc-sidebar__footer {
	padding: 1rem 1.25rem 1.25rem;
	border-top: 1px solid rgba(var(--hc-ink-rgb), 0.08);
	background-color: rgba(255, 255, 255, 0.82);
}

.hc-sidebar__powered {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	align-items: flex-start;
	padding: 1rem;
	border: 1px solid rgba(var(--hc-ink-rgb), 0.08);
	border-radius: 0.9rem;
	background-color: #fff;
	box-shadow: 0 8px 22px rgba(var(--hc-ink-rgb), 0.035);
}

.hc-sidebar__powered-label {
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hc-muted);
	font-weight: 700;
}

.hc-sidebar__powered img {
	display: block;
	width: 100%;
	max-width: 210px;
}

.hc-sidebar__powered-link {
	display: block;
	width: 100%;
}

.hc-main .app-wrapper,
[data-kt-app-sidebar-fixed="true"] .hc-main .app-wrapper,
[data-kt-app-header-fixed="true"] .hc-main .app-wrapper {
	margin-left: 0 !important;
	margin-top: 0 !important;
}

@media (max-width: 991.98px) {
	body#kt_app_body {
		overflow: auto;
	}

	body#kt_app_body.hc-sidebar-open {
		overflow: hidden;
	}

	.hc-shell {
		flex-direction: column;
		height: auto;
		overflow: visible;
	}

	.hc-sidebar {
		width: min(86vw, 320px);
		max-width: 320px;
		flex-basis: auto;
		height: 100dvh;
		position: fixed;
		left: 0;
		top: 0;
		z-index: 1200;
		transform: translateX(-100%);
		transition: transform 0.22s ease, box-shadow 0.22s ease;
		box-shadow: none;
	}

	body#kt_app_body.hc-sidebar-open .hc-sidebar {
		transform: translateX(0);
		box-shadow: 22px 0 44px rgba(var(--hc-ink-rgb), 0.16);
	}

	.hc-sidebar__brand {
		min-height: 104px;
	}

	.hc-sidebar__nav {
		padding-top: 0.75rem;
	}

	.hc-topbar {
		position: static;
	}

	.hc-main {
		height: auto;
		overflow: visible;
	}

	.hc-topbar__inner {
		justify-content: space-between;
		flex-wrap: wrap;
		padding: 0 1rem;
		padding-top: 0.9rem;
		padding-bottom: 0.9rem;
		min-height: auto;
	}

	.hc-topbar__controls {
		gap: 0.6rem;
		width: 100%;
		justify-content: flex-end;
	}

	.hc-topbar__tenant {
		padding: 0.5rem 0.7rem;
		max-width: min(58vw, 18rem);
	}

	.hc-topbar__search {
		order: 3;
		flex-basis: 100%;
		max-width: none;
	}

	.hc-topbar__tenant-label {
		display: none;
	}

	.hc-palette-switcher {
		padding: 0.45rem 0.55rem;
	}

	.hc-palette-switcher__label {
		display: none;
	}

	.hc-sidebar-toggle,
	.hc-sidebar-close {
		display: inline-flex;
	}

	.hc-sidebar-overlay {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 1190;
		border: 0;
		padding: 0;
		background: rgba(15, 23, 42, 0.36);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 0.2s ease, visibility 0.2s ease;
	}

	body#kt_app_body.hc-sidebar-open .hc-sidebar-overlay {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.hc-main__body {
		padding: 1rem 1rem 0;
		overflow: visible;
	}
}

.app-footer {
	background-color: transparent;
}

.separator.separator-dashed {
	border-color: var(--hc-border) !important;
}

.swal2-popup .swal2-confirm.btn-primary {
	background: var(--hc-primary) !important;
	border-color: var(--hc-primary) !important;
}

.assistant-company-panel {
	border: 1px solid var(--hc-border);
	border-radius: 1rem;
	background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
	box-shadow: 0 14px 32px rgba(var(--hc-ink-rgb), 0.04);
}

.assistant-company-shell {
	padding: 0;
}

.assistant-company-topbar {
	display: flex;
	justify-content: flex-end;
	padding: 0 0 1.25rem;
	margin-bottom: 0.25rem;
}

.assistant-company-topbar::after {
	content: none;
}

.assistant-company-page .form-label {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--hc-muted);
}

.assistant-company-section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hc-ink);
}

.assistant-company-section-copy {
	margin: -0.55rem 0 1rem;
	font-size: 0.92rem;
	line-height: 1.6;
	color: var(--hc-muted);
}

.assistant-company-section {
	padding: 1.25rem;
	border: 1px solid var(--hc-border);
	border-radius: 1rem;
	background: #fff;
}

.assistant-company-section + .assistant-company-section {
	margin-top: 1rem;
}

.assistant-company-textarea {
	min-height: 120px;
	resize: vertical;
}

.assistant-company-image-input,
.assistant-company-image-preview {
	background-color: #fff;
}

.assistant-company-image-input {
	display: inline-flex;
}

.assistant-company-image-preview {
	border-radius: 1rem;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 180px !important;
	height: 180px !important;
	border: 1px solid rgba(var(--hc-ink-rgb), 0.08);
	box-shadow: 0 16px 30px rgba(var(--hc-ink-rgb), 0.08);
}

.assistant-company-image-preview--blank {
	background-size: contain;
}

.assistant-company-brand-card {
	padding: 1.5rem;
	background:
		radial-gradient(circle at top right, rgba(var(--hc-primary-rgb), 0.1) 0, transparent 28%),
		linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.assistant-company-brand-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 0.75rem;
	border-radius: 999px;
	background: rgba(var(--hc-primary-rgb), 0.1);
	color: var(--hc-primary-strong);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.assistant-company-brand-copy {
	margin-top: 1.1rem;
	font-size: 0.96rem;
	line-height: 1.65;
	color: #556579;
}

.assistant-company-brand-meta {
	display: grid;
	gap: 0.75rem;
	margin-top: 1.4rem;
}

.assistant-company-meta-item {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	padding: 0.85rem 0.95rem;
	border: 1px solid var(--hc-border);
	border-radius: 0.95rem;
	background: rgba(255, 255, 255, 0.88);
}

.assistant-company-meta-item i {
	color: var(--hc-primary);
	font-size: 1rem;
	line-height: 1.2;
	margin-top: 0.15rem;
}

.assistant-company-meta-item__label {
	display: block;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hc-muted);
}

.assistant-company-meta-item__value {
	display: block;
	margin-top: 0.18rem;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.45;
	color: var(--hc-ink);
}

.assistant-company-upload-hint {
	margin-top: 1rem;
	font-size: 0.84rem;
	line-height: 1.55;
	color: var(--hc-muted);
}

.assistant-company-details-card {
	padding: 1.5rem;
}

.assistant-company-overview {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.assistant-company-overview__title {
	margin: 0;
	font-size: 1.4rem;
	font-weight: 800;
	line-height: 1.15;
	color: var(--hc-ink);
}

.assistant-company-overview__copy {
	margin: 0.45rem 0 0;
	max-width: 42rem;
	font-size: 0.96rem;
	line-height: 1.65;
	color: #5f7084;
}

.assistant-company-chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1rem;
}

.assistant-company-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 0.8rem;
	border-radius: 999px;
	background: rgba(var(--hc-primary-rgb), 0.08);
	color: #35506f;
	font-size: 0.82rem;
	font-weight: 700;
}

.assistant-company-actions {
	display: flex;
	justify-content: flex-end;
	gap: 0.75rem;
	padding-top: 1.1rem;
	margin-top: 1.15rem;
	border-top: 1px solid var(--hc-border);
}

.hc-filter-cluster {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 0.85rem;
	border: 1px solid var(--hc-border);
	border-radius: 1rem;
	background: #fff;
}

.hc-filter-cluster__label {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hc-muted);
	white-space: nowrap;
}

.hc-filter-input {
	min-width: 0;
}

.hc-filter-input--status {
	width: 11rem;
}

.hc-filter-input--search {
	width: 18rem;
}

.hc-notes-shell {
	border: 1px solid var(--hc-border);
	border-radius: 1.15rem;
	background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
	box-shadow: 0 12px 28px rgba(var(--hc-ink-rgb), 0.04);
}

.hc-note-stat {
	height: 100%;
	padding: 1.15rem 1.2rem;
	border: 1px solid var(--hc-border);
	border-radius: 1rem;
	background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
	box-shadow: 0 10px 24px rgba(var(--hc-ink-rgb), 0.035);
}

.hc-note-stat__label {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hc-muted);
}

.hc-note-stat__value {
	margin-top: 0.7rem;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	color: var(--hc-ink);
}

.hc-notes-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.75rem;
}

.hc-notes-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.hc-notes-pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.25rem;
}

.hc-notes-pagination__summary {
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--hc-muted);
}

.hc-notes-pagination .pagination {
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.35rem;
}

.hc-notes-pagination .page-link {
	border-radius: 0.65rem;
	border-color: var(--hc-border);
	color: var(--hc-ink);
}

.hc-notes-pagination .page-item.active .page-link {
	border-color: var(--hc-primary);
	background: var(--hc-primary);
	color: #fff;
}

.hc-note-card {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.1rem 1.15rem;
	border: 1px solid var(--hc-border);
	border-radius: 1rem;
	background: #ffffff;
	box-shadow: 0 10px 24px rgba(var(--hc-ink-rgb), 0.035);
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.hc-note-card:hover {
	transform: translateY(-2px);
	border-color: rgba(var(--hc-primary-rgb), 0.18);
	box-shadow: 0 16px 32px rgba(var(--hc-ink-rgb), 0.06);
}

.hc-note-card.is-pinned {
	border-color: rgba(var(--hc-primary-rgb), 0.18);
	box-shadow: 0 14px 28px rgba(var(--hc-primary-rgb), 0.08);
}

.hc-note-card__head,
.hc-note-card__footer {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.85rem;
}

.hc-note-card__chips,
.hc-note-card__actions,
.hc-note-card__footer-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.hc-note-card__title {
	margin: 0 0 0.45rem;
	font-size: 1.02rem;
	font-weight: 800;
	color: var(--hc-ink);
}

.hc-note-card__text {
	font-size: 0.94rem;
	line-height: 1.7;
	color: #475569;
}

.hc-note-card__meta {
	display: flex;
	flex-direction: column;
	gap: 0.18rem;
}

.hc-note-card__author {
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--hc-ink);
}

.hc-note-card__date {
	font-size: 0.82rem;
	color: var(--hc-muted);
}

.hc-note-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.42rem 0.68rem;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 700;
	line-height: 1;
}

.hc-note-chip--context {
	background: rgba(var(--hc-primary-rgb), 0.08);
	color: var(--hc-primary);
}

.hc-note-chip--followup {
	background: rgba(251, 191, 36, 0.12);
	color: #9a6700;
}

.hc-note-chip--status-open {
	background: rgba(34, 197, 94, 0.12);
	color: #0f7a38;
}

.hc-note-chip--status-resolved {
	background: rgba(var(--hc-ink-rgb), 0.08);
	color: #475569;
}

.hc-note-chip--low {
	background: rgba(var(--hc-ink-rgb), 0.06);
	color: #475569;
}

.hc-note-chip--normal {
	background: rgba(59, 130, 246, 0.1);
	color: #1e5db8;
}

.hc-note-chip--high {
	background: rgba(239, 68, 68, 0.1);
	color: #b42318;
}

.hc-notes-empty {
	padding: 3rem 1.5rem;
	text-align: center;
}

.hc-notes-empty__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	margin-bottom: 1rem;
	border-radius: 999px;
	background: rgba(var(--hc-primary-rgb), 0.08);
	color: var(--hc-primary);
	font-size: 1.45rem;
}

.hc-notes-empty__title {
	margin: 0 0 0.5rem;
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--hc-ink);
}

.hc-notes-empty__copy {
	margin: 0;
	max-width: 34rem;
	margin-inline: auto;
	color: var(--hc-muted);
}

.hc-note-modal {
	border: 0;
	border-radius: 1.3rem;
	box-shadow: 0 24px 64px rgba(var(--hc-ink-rgb), 0.12);
}

.hc-note-modal__eyebrow {
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hc-muted);
}

.hc-note-modal__title {
	font-size: 1.4rem;
	font-weight: 800;
	color: var(--hc-ink);
}

.hc-note-modal__textarea {
	min-height: 11rem;
}

.hc-communication-card {
	border: 1px solid var(--hc-border);
	border-radius: 1.15rem;
	background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
	box-shadow: 0 12px 28px rgba(var(--hc-ink-rgb), 0.04);
}

.hc-communication-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.hc-communication-thread {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 0.85rem;
	align-items: flex-start;
	padding: 0.95rem 1rem;
	border: 1px solid var(--hc-border);
	border-radius: 1rem;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.hc-communication-thread:hover,
.hc-communication-thread.is-active {
	border-color: rgba(var(--hc-primary-rgb), 0.2);
	box-shadow: 0 14px 30px rgba(var(--hc-ink-rgb), 0.05);
	transform: translateY(-1px);
	color: inherit;
}

.hc-communication-thread__avatar,
.hc-communication-message__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	background: rgba(var(--hc-primary-rgb), 0.1);
	color: var(--hc-primary);
	font-size: 0.82rem;
	font-weight: 800;
	flex-shrink: 0;
}

.hc-communication-thread__avatar--large {
	width: 3rem;
	height: 3rem;
	font-size: 0.92rem;
}

.hc-communication-thread__content {
	min-width: 0;
}

.hc-communication-thread__head,
.hc-communication-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.hc-communication-thread__name,
.hc-communication-header__title {
	font-size: 0.98rem;
	font-weight: 800;
	color: var(--hc-ink);
}

.hc-communication-thread__date,
.hc-communication-message__date {
	font-size: 0.8rem;
	color: var(--hc-muted);
	white-space: nowrap;
}

.hc-communication-thread__subject {
	margin-top: 0.22rem;
	font-size: 0.9rem;
	font-weight: 700;
	color: #324564;
}

.hc-communication-thread__preview {
	margin-top: 0.28rem;
	font-size: 0.86rem;
	color: var(--hc-muted);
	line-height: 1.5;
}

.hc-communication-thread__meta {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.45rem;
}

.hc-communication-thread__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.55rem;
	height: 1.55rem;
	padding: 0 0.4rem;
	border-radius: 999px;
	background: var(--hc-primary);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
}

.hc-communication-header {
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--hc-border);
}

.hc-communication-header__identity {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	min-width: 0;
}

.hc-communication-header__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin-top: 0.3rem;
	font-size: 0.88rem;
	color: var(--hc-muted);
}

.hc-communication-header__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.6rem;
}

.hc-communication-messages {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-height: 36rem;
	overflow-y: auto;
	padding-right: 0.2rem;
}

.hc-communication-message {
	display: flex;
	align-items: flex-start;
	gap: 0.8rem;
	max-width: 84%;
}

.hc-communication-message.is-mine {
	margin-left: auto;
	flex-direction: row-reverse;
}

.hc-communication-message__bubble {
	padding: 0.95rem 1rem;
	border: 1px solid var(--hc-border);
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 10px 24px rgba(var(--hc-ink-rgb), 0.035);
}

.hc-communication-message.is-mine .hc-communication-message__bubble {
	border-color: rgba(var(--hc-primary-rgb), 0.16);
	background: rgba(var(--hc-primary-rgb), 0.06);
}

.hc-communication-message__meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.35rem;
}

.hc-communication-message__sender {
	font-size: 0.82rem;
	font-weight: 800;
	color: var(--hc-ink);
}

.hc-communication-message__text {
	font-size: 0.92rem;
	line-height: 1.7;
	color: #475569;
}

.hc-communication-message__status {
	display: flex;
	justify-content: flex-end;
	margin-top: 0.7rem;
}

.hc-communication-message.is-mine .hc-communication-message__status {
	justify-content: flex-end;
}

.hc-communication-message__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.34rem 0.62rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1;
	border: 1px solid transparent;
	white-space: nowrap;
}

.hc-communication-message__badge i {
	font-size: 0.68rem;
	line-height: 1;
}

.hc-communication-message__badge.is-read {
	background: rgba(34, 197, 94, 0.1);
	border-color: rgba(34, 197, 94, 0.16);
	color: #167c3d;
}

.hc-communication-message__badge.is-unread {
	background: rgba(var(--hc-primary-rgb), 0.09);
	border-color: rgba(var(--hc-primary-rgb), 0.14);
	color: var(--hc-primary-strong);
}

.hc-communication-message__badge.is-sent {
	background: rgba(var(--hc-ink-rgb), 0.06);
	border-color: rgba(var(--hc-ink-rgb), 0.1);
	color: #55657d;
}

.hc-communication-compose {
	padding-top: 1rem;
	border-top: 1px solid var(--hc-border);
}

.hc-communication-compose__actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 0.9rem;
}

.hc-communication-closed-state {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.85rem 1rem;
	border: 1px dashed rgba(var(--hc-ink-rgb), 0.18);
	border-radius: 0.95rem;
	color: var(--hc-muted);
}

.hc-audit-filter-card .card-body {
	padding: 0.85rem 1rem;
}

.hc-audit-filter-bar {
	display: grid;
	grid-template-columns: minmax(12rem, 1.2fr) repeat(3, minmax(9rem, 0.8fr)) repeat(2, minmax(8.25rem, 0.65fr)) auto;
	align-items: center;
	gap: 0.55rem;
	width: 100%;
}

.hc-audit-filter-input,
.hc-audit-filter-date {
	min-height: 2.4rem;
	border-radius: 0.7rem;
	font-size: 0.82rem;
}

.hc-audit-filter-search {
	min-width: 12rem;
}

.hc-audit-filter-actions {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.45rem;
	white-space: nowrap;
}

.hc-audit-table-card .card-body {
	padding: 1rem;
}

.hc-audit-table-card table.dataTable {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.hc-audit-table-card .table > :not(caption) > * > * {
	padding: 0.7rem 0.75rem;
}

.hc-audit-row-date,
.hc-audit-row-main {
	color: var(--hc-ink);
	font-size: 0.84rem;
	font-weight: 800;
	line-height: 1.2;
}

.hc-audit-row-time,
.hc-audit-row-muted {
	margin-top: 0.18rem;
	color: var(--hc-muted);
	font-size: 0.74rem;
	font-weight: 600;
	line-height: 1.2;
}

.hc-audit-action-badge {
	display: inline-flex;
	align-items: center;
	max-width: 12rem;
	padding: 0.35rem 0.58rem;
	border-radius: 999px;
	background: rgba(var(--hc-primary-rgb), 0.1);
	color: var(--hc-primary-strong);
	font-size: 0.74rem;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hc-audit-row-changes {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.35rem;
	max-width: 28rem;
}

.hc-audit-row-source {
	display: inline-block;
	max-width: 13rem;
	color: var(--hc-muted);
	font-size: 0.76rem;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: middle;
}

.hc-audit-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.hc-audit-card {
	border: 1px solid var(--hc-border);
	border-radius: 1.1rem;
	background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
	box-shadow: 0 12px 28px rgba(var(--hc-ink-rgb), 0.04);
}

.hc-audit-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.hc-audit-card__action {
	font-size: 1rem;
	font-weight: 800;
	color: var(--hc-ink);
}

.hc-audit-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.9rem;
	margin-top: 0.3rem;
	font-size: 0.82rem;
	color: var(--hc-muted);
}

.hc-audit-card__actor {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.55rem;
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--hc-muted);
	white-space: nowrap;
}

.hc-audit-card__changes {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 1rem;
}

.hc-audit-change-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.36rem 0.62rem;
	border-radius: 999px;
	background: rgba(var(--hc-primary-rgb), 0.08);
	color: var(--hc-primary-strong);
	font-size: 0.74rem;
	font-weight: 800;
}

.hc-audit-card__footer {
	display: flex;
	justify-content: flex-end;
	margin-top: 1rem;
}

.hc-audit-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--hc-border);
}

.hc-audit-detail-title {
	margin-bottom: 0.45rem;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--hc-muted);
}

.hc-audit-json {
	min-height: 8rem;
	max-height: 24rem;
	overflow: auto;
	margin: 0;
	padding: 0.9rem;
	border: 1px solid var(--hc-border);
	border-radius: 0.85rem;
	background: #0f172a;
	color: #dbeafe;
	font-size: 0.78rem;
	line-height: 1.55;
	white-space: pre-wrap;
	word-break: break-word;
}

@media (max-width: 991.98px) {
	.hc-audit-filter-bar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hc-audit-filter-search,
	.hc-audit-filter-actions {
		grid-column: 1 / -1;
	}

	.hc-audit-filter-actions {
		justify-content: flex-start;
	}

	.hc-audit-card__top,
	.hc-audit-card__actor {
		align-items: flex-start;
		justify-content: flex-start;
		flex-direction: column;
	}

	.hc-audit-detail-grid {
		grid-template-columns: 1fr;
	}

	.hc-audit-row-source {
		max-width: 9rem;
	}
}

@media (max-width: 575.98px) {
	.hc-audit-filter-bar {
		grid-template-columns: 1fr;
	}

	.hc-audit-filter-search,
	.hc-audit-filter-actions {
		grid-column: auto;
	}
}

.hc-communication-empty {
	min-height: 28rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.hc-notes-empty--compact {
	padding: 2rem 1rem;
}

.hc-worker-hero {
	border: 1px solid var(--hc-border);
	border-radius: 1.2rem;
	background:
		linear-gradient(180deg, rgba(var(--hc-primary-rgb), 0.05) 0%, rgba(255, 255, 255, 0.98) 100%);
	box-shadow: 0 16px 34px rgba(var(--hc-ink-rgb), 0.04);
}

.hc-worker-hero__layout {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 1.25rem;
}

.hc-worker-hero__identity {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	flex: 1 1 auto;
	min-width: 0;
}

.hc-worker-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 5rem;
	height: 5rem;
	border-radius: 1.4rem;
	background: linear-gradient(180deg, var(--hc-primary) 0%, var(--hc-primary-strong) 100%);
	color: #fff;
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	box-shadow: 0 14px 28px rgba(var(--hc-primary-rgb), 0.22);
}

.hc-worker-hero__copy {
	min-width: 0;
}

.hc-worker-hero__eyebrow {
	margin-bottom: 0.35rem;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hc-muted);
}

.hc-worker-hero__name {
	margin: 0 0 0.85rem;
	font-size: 1.65rem;
	font-weight: 800;
	line-height: 1.1;
	color: var(--hc-ink);
}

.hc-worker-hero__meta {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	font-size: 0.93rem;
	color: #5b6b83;
}

.hc-worker-hero__meta span {
	display: flex;
	align-items: center;
}

.hc-worker-hero__status {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	width: min(100%, 28rem);
}

.hc-worker-status-card {
	padding: 1rem 1.05rem;
	border: 1px solid var(--hc-border);
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.92);
}

.hc-worker-status-card__label {
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hc-muted);
}

.hc-worker-status-card__value {
	margin-top: 0.5rem;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	color: var(--hc-ink);
}

.hc-worker-status-card__progress {
	height: 0.5rem;
	margin-top: 0.9rem;
	border-radius: 999px;
	background: rgba(var(--hc-primary-rgb), 0.1);
}

.hc-worker-status-card__progress .progress-bar {
	border-radius: inherit;
	background: linear-gradient(90deg, var(--hc-primary) 0%, var(--hc-primary-strong) 100%);
}

.hc-worker-status-pill {
	display: inline-flex;
	align-items: center;
	margin-top: 0.7rem;
	padding: 0.5rem 0.8rem;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 800;
}

.hc-worker-status-pill.is-approved {
	background: rgba(34, 197, 94, 0.12);
	color: #0f7a38;
}

.hc-worker-status-pill.is-pending {
	background: rgba(251, 191, 36, 0.12);
	color: #9a6700;
}

.hc-worker-status-card__hint {
	margin-top: 0.75rem;
	font-size: 0.86rem;
	line-height: 1.55;
	color: #64748b;
}

.hc-worker-kpi {
	height: 100%;
	padding: 1.15rem 1.2rem;
	border: 1px solid var(--hc-border);
	border-radius: 1rem;
	background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
	box-shadow: 0 10px 24px rgba(var(--hc-ink-rgb), 0.035);
}

.hc-worker-kpi__label {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hc-muted);
}

.hc-worker-kpi__value {
	margin-top: 0.7rem;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	color: var(--hc-ink);
}

.hc-worker-kpi__meta {
	margin-top: 0.6rem;
	font-size: 0.9rem;
	line-height: 1.6;
	color: #64748b;
}

.hc-worker-opps {
	border: 1px solid var(--hc-border);
	border-radius: 1.15rem;
	background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
	box-shadow: 0 12px 28px rgba(var(--hc-ink-rgb), 0.04);
}

.hc-worker-opps__list {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.hc-worker-opportunity {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 1rem;
	align-items: center;
	padding: 1rem 1.05rem;
	border: 1px solid var(--hc-border);
	border-radius: 1rem;
	background: #fff;
}

.hc-worker-opportunity__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 999px;
	background: rgba(var(--hc-primary-rgb), 0.1);
	color: var(--hc-primary);
	font-size: 0.95rem;
	font-weight: 800;
}

.hc-worker-opportunity__body {
	min-width: 0;
}

.hc-worker-opportunity__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.hc-worker-opportunity__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 800;
	color: var(--hc-ink);
}

.hc-worker-opportunity__date {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--hc-muted);
	white-space: nowrap;
}

.hc-worker-opportunity__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem 1rem;
	margin-top: 0.45rem;
	font-size: 0.88rem;
	color: #5f7084;
}

.hc-worker-empty {
	padding: 2.8rem 1.4rem;
	text-align: center;
}

.hc-worker-empty__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	margin-bottom: 1rem;
	border-radius: 999px;
	background: rgba(var(--hc-primary-rgb), 0.08);
	color: var(--hc-primary);
	font-size: 1.45rem;
}

.hc-worker-empty__title {
	margin: 0 0 0.45rem;
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--hc-ink);
}

.hc-worker-empty__copy {
	margin: 0;
	color: var(--hc-muted);
	max-width: 34rem;
	margin-inline: auto;
}

@media (max-width: 991.98px) {
	.assistant-company-overview {
		flex-direction: column;
	}

	.assistant-company-brand-card,
	.assistant-company-details-card {
		padding: 1.2rem;
	}

	.assistant-company-image-preview {
		width: 152px !important;
		height: 152px !important;
	}

	.hc-notes-grid {
		grid-template-columns: 1fr;
	}

	.hc-notes-pagination {
		align-items: flex-start;
		flex-direction: column;
	}

	.hc-notes-pagination .pagination {
		justify-content: flex-start;
	}

	.hc-filter-cluster,
	.hc-filter-input--status,
	.hc-filter-input--search {
		width: 100%;
	}

	.hc-worker-hero__layout,
	.hc-worker-hero__identity {
		flex-direction: column;
	}

	.hc-worker-opportunity {
		grid-template-columns: 1fr;
	}

	.hc-worker-hero__status {
		grid-template-columns: 1fr;
		width: 100%;
	}

	.hc-worker-opportunity__head {
		flex-direction: column;
		align-items: flex-start;
	}

	.hc-worker-opportunity__actions {
		width: 100%;
	}

	.hc-worker-opportunity__actions .btn {
		width: 100%;
	}
}

.hc-kpi-card {
	border-radius: 1.1rem;
	border: 1px solid #e8edf5;
	background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
	box-shadow: 0 1px 2px rgba(var(--hc-ink-rgb), 0.04), 0 16px 34px rgba(var(--hc-ink-rgb), 0.03);
}

.hc-kpi-card__value {
	display: block;
	font-size: 2.2rem;
	font-weight: 800;
	line-height: 1;
	color: #1f2a44;
}

.hc-kpi-card__label {
	display: block;
	margin-top: 0.45rem;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.4;
	color: #6b7280;
}

.hc-kpi-card--critical {
	background: linear-gradient(180deg, #fff8fa 0%, #fffdfd 100%);
	border-color: #f3d7df;
}

.hc-kpi-card--critical .hc-kpi-card__value,
.hc-kpi-card--critical .hc-kpi-card__label {
	color: #ba4665;
}

.hc-kpi-card--warning {
	background: linear-gradient(180deg, #fffaf3 0%, #fffdfb 100%);
	border-color: #f0dfbd;
}

.hc-kpi-card--warning .hc-kpi-card__value,
.hc-kpi-card--warning .hc-kpi-card__label {
	color: #b78028;
}

.hc-kpi-card--notice {
	background: linear-gradient(180deg, #f7f9ff 0%, #fdfdff 100%);
	border-color: #dde4f5;
}

.hc-kpi-card--notice .hc-kpi-card__value,
.hc-kpi-card--notice .hc-kpi-card__label {
	color: #6c7fb8;
}

.hc-kpi-card--brand {
	background: linear-gradient(180deg, #f8faff 0%, #fdfdff 100%);
	border-color: #dfe6f5;
}

.hc-kpi-card--brand .hc-kpi-card__value,
.hc-kpi-card--brand .hc-kpi-card__label {
	color: #6f84c6;
}

.hc-task-card .card-header,
.hc-task-card .card-body,
.hc-task-card .card-toolbar {
	background: transparent !important;
}

.hc-task-card .card-header {
	padding-top: 1.35rem;
	padding-bottom: 1rem;
	align-items: flex-start;
}

.hc-task-card .card-toolbar {
	width: 100%;
	display: flex;
	justify-content: flex-end;
}

.hc-task-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem;
}

.hc-task-filter-cluster {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 0.85rem;
	border: 1px solid var(--hc-border);
	border-radius: 1rem;
	background: #fff;
}

.hc-task-filter-cluster--filters {
	flex-wrap: nowrap;
}

.hc-task-filter-cluster__label {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hc-muted);
	white-space: nowrap;
}

.hc-task-filter-cluster--search {
	background: linear-gradient(180deg, rgba(var(--hc-primary-rgb), 0.05) 0%, rgba(var(--hc-primary-rgb), 0.02) 100%);
}

.hc-task-filters .form-select,
.hc-task-filters .form-control {
	min-width: 0;
	border-radius: 0.9rem;
	background-color: #fff;
}

.hc-task-filters #sel-status,
.hc-task-filters #sel-category,
.hc-task-filters #sel-category-type,
.hc-task-filters #day-left {
	width: 11rem;
}

.hc-task-filters #day-left {
	width: 8.5rem;
}

.hc-task-filters [data-kt-filter="search"] {
	width: 15rem !important;
}

.hc-task-filters #search-category {
	width: 15rem !important;
}

.hc-list-card-header {
	padding-top: 1.1rem;
	padding-bottom: 1rem;
}

.hc-list-card-header .card-toolbar {
	margin-left: auto;
	width: 100%;
	display: flex;
	justify-content: flex-end;
}

.hc-list-card-header--split {
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.hc-list-card-header--split .card-toolbar {
	width: auto;
	flex: 0 0 auto;
	align-self: center;
}

.hc-list-card-header--split .card-toolbar,
.hc-list-card-header--split .card-toolbar > .m-0,
.hc-list-card-header--split .card-toolbar > .m-0 > div {
	display: flex;
	align-items: center;
}

.hc-list-card-header--split .dataTables_filter,
.hc-list-card-header--split .dataTables_filter label {
	margin: 0;
}

.hc-list-card-heading {
	min-width: 0;
}

.hc-list-card-heading__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
	color: var(--hc-ink);
}

.hc-list-card-heading__copy {
	margin: 0.3rem 0 0;
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--hc-muted);
}

.hc-list-section-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.95rem;
}

.hc-list-section-bar__actions,
.hc-list-section-bar__actions > .m-0,
.hc-list-section-bar__actions > .m-0 > div {
	display: flex;
	align-items: center;
}

.hc-list-section-bar .dataTables_filter,
.hc-list-section-bar .dataTables_filter label {
	margin: 0;
}

@media (max-width: 991.98px) {
	.hc-task-filter-cluster {
		width: 100%;
	}

	.hc-task-filter-cluster--filters {
		flex-wrap: wrap;
	}

	.hc-task-filters #sel-status,
	.hc-task-filters #sel-category,
	.hc-task-filters #sel-category-type,
	.hc-task-filters #day-left,
	.hc-task-filters [data-kt-filter="search"],
	.hc-task-filters #search-category {
		width: 100% !important;
	}
}

.hc-task-table tbody tr {
	transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.hc-task-table thead th {
	padding-top: 0.95rem;
	padding-bottom: 0.95rem;
	vertical-align: middle;
	white-space: nowrap;
}

.hc-task-table tbody tr td {
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.hc-task-table tbody tr td:first-child {
	padding-left: 1.9rem !important;
	width: 1%;
	white-space: nowrap;
}

.hc-task-row--expired td {
	background: rgba(186, 70, 101, 0.07);
	color: #8f3b53 !important;
}

.hc-task-row--expired:hover td {
	background: rgba(186, 70, 101, 0.09);
}

.hc-task-row--expired td:first-child {
	box-shadow: inset 3px 0 0 #cf6d89;
	padding-left: 2.15rem !important;
}

.hc-task-category-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 0.85rem;
	border-radius: 0.8rem;
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

.hc-task-level-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 0.5rem;
	padding: 0.42rem 0.72rem;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 700;
	line-height: 1;
}

.hc-task-table .badge-primary.hc-task-level-chip,
.hc-task-table .badge-primary {
	background-color: #6b84c2 !important;
	color: #fff !important;
}

.hc-task-table .badge-warning.hc-task-level-chip,
.hc-task-table .badge-warning {
	background-color: #d3b170 !important;
	color: #fff !important;
}

.hc-task-table .badge-success.hc-task-level-chip,
.hc-task-table .badge-success {
	background-color: #7ea98f !important;
	color: #fff !important;
}

.hc-task-table thead th:first-child,
.hc-task-table tbody td:first-child {
	width: 110px;
	min-width: 110px;
	max-width: 110px;
}

.hc-task-table thead th:nth-child(3),
.hc-task-table tbody td:nth-child(3) {
	min-width: 140px;
}

.hc-days-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 4.75rem;
	padding: 0.5rem 0.75rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1;
}

.hc-days-badge--expired {
	background: rgba(186, 70, 101, 0.12);
	color: #b44563;
}

.hc-days-badge--upcoming {
	background: rgba(var(--hc-primary-rgb), 0.1);
	color: #6d80bc;
}

.hc-task-level-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.75rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1;
}

.hc-level-option {
	border: 1px solid #dfe6f0;
	border-radius: 1rem;
	background: #fff;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.hc-level-option:hover {
	border-color: #cdd8e8;
	box-shadow: 0 14px 28px rgba(var(--hc-ink-rgb), 0.05);
	transform: translateY(-1px);
}

.hc-level-option__body {
	padding: 1.25rem 1rem;
	text-align: center;
	font-weight: 700;
	color: #334155;
}

.hc-level-option.is-selected {
	border-color: rgba(var(--hc-primary-rgb), 0.35);
	background: rgba(var(--hc-primary-rgb), 0.06);
	box-shadow: 0 14px 28px rgba(var(--hc-primary-rgb), 0.09);
}

.hc-level-option.is-selected .hc-level-option__body {
	color: var(--hc-ink);
}

.hc-assignee-box {
	border: 1px solid #dfe6f0;
	border-radius: 0.9rem;
	background: #f8fafc;
	padding: 1rem;
}

.task-assignee-panel .select2-container--bootstrap5 .select2-selection {
	background: #fff;
}

.hc-task-assignees {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem;
	min-width: 170px;
}

.hc-task-assignee-badge {
	font-weight: 700;
	white-space: normal;
	text-align: left;
	line-height: 1.3;
}

.hc-recurring-box {
	border: 1px solid #dfe6f0;
	border-radius: 0.9rem;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	padding: 1rem;
}

.hc-recurring-options {
	border-top: 1px solid #e7edf5;
	padding-top: 1rem;
}

.hc-recurring-badge {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	font-weight: 800;
}

.hc-recurring-summary {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 150px;
	padding: 0.65rem 0.75rem;
	border: 1px solid rgba(var(--hc-primary-rgb), 0.14);
	border-radius: 0.75rem;
	background: rgba(var(--hc-primary-rgb), 0.055);
	color: #526175;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.45;
	text-align: left;
}

.hc-recurring-summary__title {
	display: inline-flex;
	align-items: center;
	margin-bottom: 0.2rem;
	color: var(--hc-primary);
	font-size: 0.76rem;
	font-weight: 800;
}

.hc-forms-table thead th:first-child + th,
.hc-forms-table tbody td:first-child + td {
	min-width: 260px;
}

.hc-forms-table__role-col {
	width: 132px;
	min-width: 132px;
	max-width: 132px;
	text-align: center;
}

.hc-forms-table thead th {
	padding-top: 0.95rem;
	padding-bottom: 0.95rem;
	vertical-align: middle;
}

.hc-forms-table .btn-ordering-forms {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.82rem;
	font-weight: 700;
	color: #324564;
}

.hc-forms-table .btn-ordering-forms:hover {
	color: var(--hc-primary);
}

.hc-forms-table .form-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.25rem;
}

.hc-forms-table tbody tr {
	transition: background-color 0.16s ease, box-shadow 0.16s ease;
}

.hc-forms-table tbody tr:hover td {
	background-color: #f6f8fc;
}

.hc-forms-table tbody tr:hover td:first-child + td a {
	color: #20314f;
}

.hc-auth {
	min-height: 100vh;
	display: grid;
	grid-template-columns: minmax(320px, 1.05fr) minmax(420px, 0.95fr);
	background:
		radial-gradient(circle at top left, rgba(var(--hc-primary-rgb), 0.08) 0, transparent 34%),
		linear-gradient(180deg, #f9fbfd 0%, #f3f7fb 100%);
}

.hc-auth__panel,
.hc-auth__content {
	display: flex;
	min-width: 0;
}

.hc-auth__panel {
	padding: 3rem;
	align-items: center;
	justify-content: center;
}

.hc-auth__panel-inner {
	width: 100%;
	max-width: 640px;
	padding: 2.75rem;
	border-radius: 1.5rem;
	background: rgba(255, 255, 255, 0.66);
	border: 1px solid rgba(var(--hc-ink-rgb), 0.06);
	box-shadow: 0 18px 48px rgba(var(--hc-ink-rgb), 0.06);
	backdrop-filter: blur(18px);
}

.hc-auth__hero {
	width: min(320px, 70%);
	display: block;
	margin-bottom: 2rem;
}

.hc-auth__title {
	margin: 0 0 0.75rem;
	font-size: clamp(2rem, 2.5vw, 3rem);
	font-weight: 800;
	line-height: 1.02;
	color: var(--hc-ink);
}

.hc-auth__license {
	margin: 0 0 1.25rem;
	font-size: 0.96rem;
	font-weight: 600;
	color: var(--hc-muted);
}

.hc-auth__subtitle {
	margin: 0;
	max-width: 36rem;
	font-size: 1rem;
	line-height: 1.7;
	color: #475569;
}

.hc-auth__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 2rem;
}

.hc-auth__content {
	width: 100%;
	padding: 2rem;
	display: grid;
	place-items: center;
	text-align: center;
	justify-self: stretch;
	align-self: stretch;
}

.hc-auth__content > * {
	margin-left: auto;
	margin-right: auto;
}

.hc-auth__content .hc-auth-card {
	justify-self: center;
	align-self: center;
}

.hc-auth-card {
	width: min(100%, 520px);
	padding: 2rem;
	border-radius: 1.5rem;
	border: 1px solid rgba(var(--hc-ink-rgb), 0.07);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 22px 54px rgba(var(--hc-ink-rgb), 0.08);
}

.hc-auth-card__inner {
	width: 100%;
}

.hc-auth-card__brand {
	display: flex;
	justify-content: center;
	margin-bottom: 1.5rem;
}

.hc-auth-card__brand img {
	display: block;
	max-width: 220px;
	max-height: 88px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.hc-auth-card__eyebrow {
	margin-bottom: 1.25rem;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #94a3b8;
	text-align: center;
}

.hc-auth-card__section-title {
	margin: 0 0 0.5rem;
	font-size: 1.45rem;
	font-weight: 750;
	line-height: 1.2;
	color: var(--hc-ink);
	text-align: center;
}

.hc-auth-card__section-copy {
	margin: 0 0 1.75rem;
	font-size: 0.98rem;
	line-height: 1.65;
	color: #64748b;
	text-align: center;
}

.hc-auth-card .form-control,
.hc-auth-card .input-group-text {
	min-height: 3.3rem;
}

.hc-auth-card .input-group-text {
	background-color: #f8fafc;
}

.hc-auth-card__divider {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin: 1.5rem 0;
	color: #94a3b8;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hc-auth-card__divider::before,
.hc-auth-card__divider::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: #e2e8f0;
}

.hc-auth-card__footer {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e8eef5;
}

.hc-auth-card__aux {
	display: flex;
	justify-content: center;
	margin-top: 1rem;
}

.hc-auth-magic-link {
	margin-top: 0.25rem;
	padding: 1.1rem 1rem 1rem;
	border: 1px solid rgba(var(--hc-primary-rgb), 0.12);
	border-radius: 1rem;
	background: linear-gradient(180deg, rgba(var(--hc-primary-rgb), 0.035) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.hc-auth-magic-link__copy {
	margin-bottom: 0.9rem;
	text-align: left;
}

.hc-auth-magic-link__title {
	margin-bottom: 0.3rem;
	font-size: 0.94rem;
	font-weight: 700;
	color: var(--hc-ink);
}

.hc-auth-magic-link__text {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.6;
	color: #64748b;
}

.hc-auth-card__back {
	display: flex;
	justify-content: center;
	margin-top: 1rem;
	font-size: 0.95rem;
	font-weight: 600;
}

.hc-auth-card__back .bi {
	font-size: 1.1rem;
	vertical-align: -1px;
}

.hc-auth-card .btn-link {
	color: #475569 !important;
	text-decoration: none;
}

.hc-auth-card .btn-link:hover {
	color: var(--hc-primary) !important;
}

.hc-auth-card .link-primary {
	color: var(--hc-primary) !important;
	font-weight: 600;
}

.hc-auth-card .link-primary:hover {
	color: var(--hc-primary-strong) !important;
}

.hc-auth--login {
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	background:
		linear-gradient(180deg, #fbfcff 0%, #f5f8fd 100%);
}

.hc-auth__panel--login {
	padding: 0;
}

.hc-auth-login-hero {
	position: relative;
	min-height: 100vh;
	padding: 3rem 4rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(248, 251, 255, 0.96) 0%, rgba(248, 251, 255, 0.9) 24%, rgba(248, 251, 255, 0.46) 52%, rgba(248, 251, 255, 0.18) 72%),
		radial-gradient(circle at top left, rgba(var(--hc-primary-rgb), 0.06) 0, transparent 24%),
		url('../media/auth/hicaregiver-login-hero.jpg');
	background-repeat: no-repeat, no-repeat, no-repeat;
	background-size: auto, auto, cover;
	background-position: left top, left top, center right;
}

.hc-auth-login-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.04) 100%);
	pointer-events: none;
}

.hc-auth-login-hero__brand,
.hc-auth-login-hero__copy {
	position: relative;
	z-index: 1;
}

.hc-auth-login-hero__brand img {
	display: block;
	width: min(420px, 58%);
	min-width: 240px;
	height: auto;
}

.hc-auth-login-hero__copy {
	max-width: 34rem;
	margin-top: auto;
	margin-bottom: 4rem;
}

.hc-auth-login-hero__eyebrow {
	margin-bottom: 1rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6f88bf;
}

.hc-auth-login-hero__title {
	margin: 0 0 1rem;
	font-size: clamp(2.4rem, 3.8vw, 4rem);
	font-weight: 800;
	line-height: 1;
	color: #10213f;
}

.hc-auth-login-hero__text {
	margin: 0;
	max-width: 28rem;
	font-size: 1.04rem;
	line-height: 1.75;
	color: #556b91;
}

.hc-auth-login-hero__link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: 1.1rem;
	font-size: 0.94rem;
	font-weight: 700;
	color: #2f5fbf;
	text-decoration: none;
}

.hc-auth-login-hero__link:hover {
	color: #234f9f;
}

.hc-auth--login .hc-auth__content {
	padding: 2.5rem;
	justify-items: center;
}

.hc-auth--login .hc-auth-card {
	width: min(100%, 500px);
	padding: 2.25rem;
	border-radius: 1.6rem;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 24px 64px rgba(var(--hc-ink-rgb), 0.09);
}

.hc-auth--login .hc-auth-card__brand {
	margin-bottom: 1.75rem;
}

.hc-auth--login .hc-auth-card__brand img {
	max-width: 280px;
	max-height: 118px;
}

.hc-auth--login .hc-auth-card__section-copy {
	max-width: 24rem;
	margin-left: auto;
	margin-right: auto;
}

.hc-auth--flow {
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	background: linear-gradient(180deg, #fbfcff 0%, #f5f8fd 100%);
}

.hc-auth--flow .hc-auth__content {
	justify-items: center;
}

.hc-auth__panel--flow {
	padding: 0;
}

.hc-auth-flow-hero {
	position: relative;
	min-height: 100vh;
	padding: 3rem 4rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(248, 251, 255, 0.98) 0%, rgba(248, 251, 255, 0.94) 28%, rgba(248, 251, 255, 0.62) 52%, rgba(248, 251, 255, 0.24) 76%),
		radial-gradient(circle at top left, rgba(var(--hc-primary-rgb), 0.05) 0, transparent 24%),
		url('../media/auth/hicaregiver-login-hero.jpg');
	background-repeat: no-repeat, no-repeat, no-repeat;
	background-size: auto, auto, cover;
	background-position: left top, left top, center right;
}

.hc-auth-flow-hero__brand,
.hc-auth-flow-hero__copy {
	position: relative;
	z-index: 1;
}

.hc-auth-flow-hero__brand img {
	display: block;
	width: min(360px, 52%);
	min-width: 220px;
	height: auto;
}

.hc-auth-flow-hero__copy {
	max-width: 32rem;
	margin-top: auto;
	margin-bottom: 4rem;
}

.hc-auth-flow-hero__eyebrow {
	margin-bottom: 1rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6f88bf;
}

.hc-auth-flow-hero__title {
	margin: 0 0 1rem;
	font-size: clamp(2.1rem, 3.2vw, 3.2rem);
	font-weight: 800;
	line-height: 1.02;
	color: #10213f;
}

.hc-auth-flow-hero__text {
	margin: 0;
	max-width: 26rem;
	font-size: 1rem;
	line-height: 1.72;
	color: #556b91;
}

.hc-apply-modal__header {
	padding: 1.5rem 1.75rem 1rem;
	border-bottom: 1px solid #e8eef5;
}

.hc-apply-modal__eyebrow {
	margin-bottom: 0.35rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8a98b5;
}

.hc-apply-modal__title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 750;
	color: var(--hc-ink);
}

.hc-apply-modal__body {
	padding: 1.5rem 1.75rem 1.75rem;
}

.hc-apply-modal__section {
	margin-top: 1rem;
	margin-bottom: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #edf1f6;
}

.hc-apply-modal__section-title {
	margin: 0;
	font-size: 0.98rem;
	font-weight: 700;
	color: var(--hc-ink);
}

.hc-role-option {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 3.5rem;
	margin: 0;
	padding: 0.9rem 1rem;
	border: 1px solid #dfe6f0;
	border-radius: 0.95rem;
	background: #fff;
	transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
	cursor: pointer;
}

.hc-role-option:hover {
	border-color: rgba(var(--hc-primary-rgb), 0.28);
	background: rgba(var(--hc-primary-rgb), 0.04);
	box-shadow: 0 10px 22px rgba(var(--hc-primary-rgb), 0.08);
}

.hc-role-option .form-check-input {
	position: static;
	float: none;
	margin: 0;
	flex: 0 0 auto;
}

.hc-role-option__label {
	display: block;
	width: 100%;
	margin: 0;
	font-weight: 600;
	color: #334155;
	cursor: pointer;
}

.hc-role-option.is-selected {
	border-color: rgba(var(--hc-primary-rgb), 0.42);
	background: rgba(var(--hc-primary-rgb), 0.08);
	box-shadow: 0 12px 24px rgba(var(--hc-primary-rgb), 0.1);
}

.hc-role-option.is-selected .hc-role-option__label {
	color: var(--hc-primary-strong);
}

.hc-apply-modal__footer {
	padding: 1rem 1.75rem 1.5rem;
	border-top: 1px solid #e8eef5;
}

@media (max-width: 991.98px) {
	.hc-auth {
		grid-template-columns: 1fr;
	}

	.hc-auth__panel {
		padding: 1.25rem 1.25rem 0;
	}

	.hc-auth__panel-inner {
		max-width: none;
		padding: 1.75rem;
	}

	.hc-auth__hero {
		width: min(220px, 62%);
		margin-bottom: 1.25rem;
	}

	.hc-auth__title {
		font-size: 2rem;
	}

	.hc-auth__content {
		padding: 1.25rem;
	}

	.hc-auth-card {
		width: 100%;
		padding: 1.5rem;
		border-radius: 1.25rem;
	}

	.hc-auth--login {
		grid-template-columns: 1fr;
	}

	.hc-auth--flow {
		grid-template-columns: 1fr;
	}

	.hc-auth-login-hero {
		min-height: auto;
		padding: 1.5rem 1.5rem 0.5rem;
	}

	.hc-auth-login-hero__brand img {
		width: min(260px, 72%);
		min-width: 0;
	}

	.hc-auth-login-hero__copy {
		margin: 1.5rem 0 1.25rem;
		max-width: none;
	}

	.hc-auth-login-hero__title {
		font-size: 2.1rem;
	}

	.hc-auth-flow-hero {
		min-height: auto;
		padding: 1.5rem 1.5rem 0.75rem;
	}

	.hc-auth-flow-hero__brand img {
		width: min(240px, 68%);
		min-width: 0;
	}

	.hc-auth-flow-hero__copy {
		margin: 1.5rem 0 1rem;
		max-width: none;
	}

	.hc-auth-flow-hero__title {
		font-size: 2rem;
	}
}
