* { box-sizing: border-box; }
:root {
	--bg: #F4F6FB;
	--sidebar: #10152B;
	--sidebar-active: #2F5FE0;
	--card: #FFFFFF;
	--border: #E8EAF0;
	--text: #1B2333;
	--text-muted: #7A8296;
	--accent: #2F5FE0;
	--accent-light: #EAF0FF;
	--green: #1D9E75;
	--green-light: #E4F7EF;
	--amber: #C27803;
	--amber-light: #FBEFDA;
	--red: #C0392B;
	--red-light: #FCEAE8;
	--purple: #7B61FF;
	--purple-light: #EFEBFF;
	--gray-light: #F1EFE8;
	--gray-text: #5F5E5A;
	--teal: #0E8A8A;
	--teal-light: #E1F4F4;
}
body.tez-app-body {
	margin: 0;
	font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	background: var(--bg);
	color: var(--text);
}
.tez-impersonate-banner {
	display: flex; align-items: center; justify-content: center; gap: 14px;
	background: linear-gradient(120deg, #C27803, #A35F02); color: #fff; font-size: 13px; font-weight: 600;
	padding: 10px 16px; position: fixed; top: 0; left: 0; right: 0; z-index: 600; height: 40px; box-sizing: border-box;
}
.tez-impersonate-banner a {
	color: #fff; text-decoration: underline; font-weight: 700; flex-shrink: 0;
}
body.tez-impersonating .tez-sidebar { top: 40px; }
body.tez-impersonating .tez-topbar { top: 40px; }
body.tez-impersonating .tez-main { padding-top: 136px; }
body.tez-impersonating .tez-mobile-bar { top: 40px; }

/* ---------------- Login ---------------- */
.tez-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--sidebar); }
.tez-login-card { background: #fff; border-radius: 16px; padding: 36px 34px; width: 100%; max-width: 380px; }
.tez-login-logo { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.tez-login-logo span { color: var(--accent); }
.tez-login-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.tez-login-card label { font-size: 12.5px; font-weight: 600; display: block; margin: 14px 0 6px; }
.tez-login-card input { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border); font-size: 14px; }
.tez-login-card button { width: 100%; margin-top: 22px; padding: 12px; border-radius: 8px; border: none; background: var(--accent); color: #fff; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.tez-login-error { background: var(--red-light); color: var(--red); padding: 10px 12px; border-radius: 8px; font-size: 13px; margin-bottom: 6px; }

/* ---------------- App shell ---------------- */
.tez-app { display: flex; min-height: 100vh; }

.tez-sidebar {
	width: 236px; background: var(--sidebar); color: #A9B0C6; flex-shrink: 0;
	padding: 20px 14px; position: fixed; top: 0; bottom: 0; left: 0;
	display: flex; flex-direction: column; overflow: hidden;
}
.tez-logo { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; color: #fff; padding: 6px 10px 22px; }
.tez-logo-img { max-width: 100%; height: auto; display: block; }
.tez-logo .tez-logo-icon { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, #5B7CFA, #2F5FE0); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tez-logo-title { font-size: 15.5px; font-weight: 700; color: #fff; line-height: 1.2; }
.tez-logo-title span { color: #8FADFF; }
.tez-logo-tagline { font-size: 10.5px; color: #7C87A8; margin-top: 1px; }

.tez-nav-scroll { display: flex; flex-direction: column; overflow-y: auto; flex: 1; min-height: 0; padding-bottom: 8px; scrollbar-width: none; -ms-overflow-style: none; }
.tez-nav-scroll::-webkit-scrollbar { display: none; }
.tez-scroll-x { scrollbar-width: none; -ms-overflow-style: none; }
.tez-scroll-x::-webkit-scrollbar { display: none; }
.tez-nav-divider {
	display: flex; align-items: center; gap: 8px; margin: 16px 12px 8px; font-size: 10px; font-weight: 700;
	letter-spacing: .07em; text-transform: uppercase; color: #545F7D;
}
.tez-nav-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.08); }

.tez-nav-item {
	display: flex; align-items: center; gap: 12px; padding: 11px 12px; margin-bottom: 2px;
	border-radius: 10px; font-size: 15px; color: #A9B0C6; text-decoration: none;
}
.tez-nav-item:hover { color: #fff; text-decoration: none; background: rgba(255,255,255,.05); }
.tez-nav-item.active { background: var(--sidebar-active); color: #fff; font-weight: 600; box-shadow: 0 6px 16px rgba(47,95,224,.35); }
.tez-nav-text { flex: 1; }
.tez-nav-chevron { color: rgba(255,255,255,.8); display: flex; }
.tez-nav-icon { width: 18px; height: 18px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.tez-nav-icon svg { width: 100%; height: 100%; }

.tez-plan-section { padding: 4px 2px 0; }
.tez-plan-label { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #7C87A8; margin-bottom: 5px; padding: 0 4px; }
.tez-plan-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 9px 12px; }
.tez-plan-card-top { display: flex; align-items: center; gap: 8px; }
.tez-plan-star { color: var(--accent); display: flex; }
.tez-plan-name { flex: 1; font-size: 13px; font-weight: 700; color: #fff; }
.tez-plan-badge { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.tez-plan-badge-active { background: rgba(29,158,117,.2); color: #4ADE9A; }
.tez-plan-badge-inactive { background: rgba(163,45,45,.2); color: #F28080; }
.tez-plan-badge-trial { background: rgba(186,117,3,.2); color: #F2B84B; }
.tez-plan-sub { font-size: 11px; color: #7C87A8; margin: 2px 0 6px; }
.tez-plan-valid-row {
	display: flex; align-items: center; gap: 8px; padding-top: 7px; border-top: 1px solid rgba(255,255,255,.08);
	text-decoration: none;
}
.tez-plan-cal-icon { color: #7C87A8; display: flex; }
.tez-plan-valid-text { flex: 1; display: flex; flex-direction: column; }
.tez-plan-valid-label { font-size: 10.5px; color: #7C87A8; }
.tez-plan-valid-value { font-size: 12.5px; font-weight: 700; color: #fff; }
.tez-plan-chevron { color: #7C87A8; display: flex; }

.tez-sidebar-user {
	display: flex; align-items: center; gap: 10px; padding: 12px 6px 4px; margin-top: 4px;
	border-top: 1px solid rgba(255,255,255,.08); text-decoration: none;
}
.tez-sidebar-user .tez-avatar { width: 32px; height: 32px; font-size: 12px; background: var(--accent); color: #fff; }
.tez-sidebar-user-text { flex: 1; min-width: 0; }
.tez-sidebar-user-name { font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tez-sidebar-user-email { font-size: 11px; color: #7C87A8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tez-sidebar-user-dots { color: #7C87A8; flex-shrink: 0; }

.tez-sidebar-promo {
	margin-top: auto; background: linear-gradient(160deg, #1E2749, #171D38);
	border-radius: 14px; padding: 18px 16px; position: relative; overflow: hidden;
}
.tez-sidebar-promo .tez-crown { width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.tez-sidebar-promo h4 { color: #fff; font-size: 13.5px; margin: 0 0 6px; }
.tez-sidebar-promo p { color: #9CA5C0; font-size: 11.5px; margin: 0 0 12px; line-height: 1.4; }
.tez-sidebar-promo a {
	display: block; text-align: center; background: linear-gradient(135deg, #5B7CFA, #2F5FE0);
	color: #fff; font-size: 12.5px; font-weight: 600; padding: 9px; border-radius: 8px; text-decoration: none;
}

.tez-main { flex: 1; padding: 96px 28px 40px; min-width: 0; margin-left: 236px; transition: margin-left .2s ease; }
.tez-sidebar-collapse-btn {
	position: absolute; top: 26px; right: -12px; width: 24px; height: 24px; border-radius: 50%;
	background: #fff; border: 1px solid var(--border); color: var(--text-muted); display: flex; align-items: center; justify-content: center;
	cursor: pointer; z-index: 20; box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: transform .2s ease;
}
.tez-sidebar-collapse-btn:hover { color: var(--accent); border-color: var(--accent); }
.tez-sidebar-collapse-btn svg { transform: rotate(180deg); }
body.tez-sidebar-collapsed .tez-sidebar { width: 72px; padding-left: 10px; padding-right: 10px; transition: width .2s ease; }
body.tez-sidebar-collapsed .tez-main { margin-left: 72px; }
body.tez-sidebar-collapsed .tez-sidebar-collapse-btn svg { transform: rotate(0deg); }
body.tez-sidebar-collapsed .tez-logo { justify-content: center; padding-left: 0; padding-right: 0; }
body.tez-sidebar-collapsed .tez-logo-img { display: none; }
body.tez-sidebar-collapsed .tez-logo::after { content: 'T'; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, #5B7CFA, #2F5FE0); color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }
body.tez-sidebar-collapsed .tez-nav-text,
body.tez-sidebar-collapsed .tez-nav-chevron,
body.tez-sidebar-collapsed .tez-nav-divider span,
body.tez-sidebar-collapsed .tez-sidebar-user-text,
body.tez-sidebar-collapsed .tez-sidebar-user-dots { display: none; }
body.tez-sidebar-collapsed .tez-nav-item { justify-content: center; padding-left: 0; padding-right: 0; }
body.tez-sidebar-collapsed .tez-sidebar-user { justify-content: center; padding-left: 0; padding-right: 0; }
body.tez-sidebar-collapsed .tez-nav-divider { text-align: center; }
@media (max-width: 780px) {
	.tez-sidebar-collapse-btn { display: none; }
}

.tez-topbar {
	display: flex; justify-content: space-between; align-items: center; gap: 20px;
	background: linear-gradient(120deg, #EEF1FF, #F6F1FF);
	padding: 14px 28px; position: fixed; top: 0; left: 236px; right: 0; z-index: 40;
	border-radius: 0 0 16px 16px; box-shadow: 0 8px 24px rgba(20,25,50,.10);
}
.tez-search { flex: 1; max-width: 420px; position: relative; }
.tez-search input {
	width: 100%; padding: 10px 14px 10px 38px; border-radius: 10px; border: 1px solid var(--border);
	background: #fff; font-size: 13.5px; color: var(--text);
}
.tez-search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-muted); }
.tez-topbar-right { display: flex; align-items: center; gap: 16px; }
.tez-chevron-down { display: inline-flex; transform: rotate(90deg); color: var(--text-muted); }
.tez-topbar-company {
	display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 800; color: var(--text); flex-shrink: 0;
}
.tez-topbar-company-name { display: flex; align-items: center; gap: 5px; }
.tez-topbar-company-text { display: flex; flex-direction: column; line-height: 1.25; }
.tez-topbar-company-tagline { font-size: 11px; font-weight: 500; color: var(--text-muted); }
.tez-topbar-company-icon {
	width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, #5B7CFA, #2F5FE0);
	color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tez-topbar-search {
	flex: 1; max-width: 480px; display: flex; align-items: center; gap: 8px; position: relative;
	background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px;
}
.tez-topbar-search .tez-search-icon { position: static; transform: none; color: var(--text-muted); }
.tez-topbar-search input {
	flex: 1; border: none; background: transparent; font-size: 13.5px; color: var(--text); outline: none;
}
.tez-topbar-search input::placeholder { color: var(--text-muted); }
.tez-topbar-search-kbd { display: flex; gap: 3px; flex-shrink: 0; }
.tez-topbar-search-kbd kbd {
	font-family: inherit; font-size: 10.5px; font-weight: 700; color: var(--text-muted);
	background: var(--bg); border: 1px solid var(--border); border-radius: 5px; padding: 2px 6px;
}
.tez-search-panel {
	display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; max-height: 400px; overflow-y: auto;
	background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 16px 36px rgba(20,25,50,.16);
	z-index: 120; text-align: left; padding: 8px;
}
.tez-search-panel.tez-open { display: block; }
.tez-search-group-label { font-size: 10.5px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; padding: 8px 10px 4px; }
.tez-search-result { display: flex; flex-direction: column; padding: 9px 10px; border-radius: 9px; cursor: pointer; text-decoration: none; color: var(--text); }
.tez-search-result:hover { background: var(--bg); }
.tez-search-result strong { font-size: 13.5px; font-weight: 600; }
.tez-search-result span { font-size: 11.5px; color: var(--text-muted); }
.tez-search-empty, .tez-search-hint { padding: 16px 10px; text-align: center; font-size: 12.5px; color: var(--text-muted); }

@keyframes tezRowPulse {
	0%, 100% { background-color: transparent; }
	50% { background-color: var(--accent-light); }
}
.tez-row-pulse { animation: tezRowPulse 0.9s ease-in-out 3; }
.tez-user-chip-text { display: flex; flex-direction: column; line-height: 1.3; }
.tez-user-chip-name { display: flex; align-items: center; gap: 4px; }
.tez-user-chip-role { font-size: 10.5px; color: var(--text-muted); font-weight: 500; }

/* ---------------- Notifications inbox ---------------- */
.tez-notif-wrap { position: relative; }
.tez-upgrade-btn {
	display: flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 10px; border: none; cursor: pointer;
	background: linear-gradient(135deg, #F5B942, #E08E1B); color: #fff; font-size: 13px; font-weight: 700;
	box-shadow: 0 4px 12px rgba(224,142,27,.3); flex-shrink: 0;
}
.tez-upgrade-btn:hover { filter: brightness(1.04); }
.tez-bell {
	position: relative; display: flex; align-items: center; gap: 7px; padding: 8px 14px 8px 12px;
	border-radius: 10px; border: 1.5px solid #CBD3E1; background: #fff;
	color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}
.tez-bell:hover { border-color: #9BA8C2; background: var(--bg); }
.tez-bell-label { white-space: nowrap; }
.tez-notif-badge {
	position: absolute; top: -6px; right: -6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
	background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center;
	display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
}
.tez-notif-panel {
	display: none; position: absolute; top: calc(100% + 8px); right: 0; width: 340px; max-height: 380px; overflow-y: auto;
	background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 14px 32px rgba(20,25,50,.16); z-index: 100;
}
.tez-notif-panel.tez-open { display: block; }
.tez-notif-panel-head { padding: 12px 16px; font-size: 13.5px; font-weight: 700; border-bottom: 1px solid var(--border); }
.tez-notif-list { padding: 6px; }
.tez-notif-item { padding: 12px 10px; border-radius: 9px; font-size: 12.5px; border-bottom: 1px solid var(--border); }
.tez-notif-item:last-child { border-bottom: none; }
.tez-notif-item.tez-notif-unread { background: var(--accent-light); }
.tez-notif-msg { color: var(--text); line-height: 1.4; }
.tez-notif-time { color: var(--text-muted); font-size: 11px; margin-top: 3px; }
.tez-notif-empty { padding: 20px 10px; text-align: center; color: var(--text-muted); font-size: 12.5px; }

.tez-user-chip { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; position: relative; cursor: pointer; }
.tez-user-chip-panel {
	display: none; position: absolute; top: 100%; right: 0; width: 220px; padding-top: 8px;
}
.tez-user-chip-panel-inner {
	background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 14px 32px rgba(20,25,50,.16); z-index: 100; padding: 6px;
}
.tez-user-chip-panel.tez-open { display: block; }
.tez-user-chip:hover .tez-user-chip-panel { display: block; }
.tez-user-chip-menu-item {
	display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 10px; border-radius: 8px; border: none;
	background: none; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text); text-align: left; font-family: inherit;
}
.tez-user-chip-menu-item:hover { background: var(--bg); }
.tez-user-chip-menu-item svg { color: var(--text-muted); flex-shrink: 0; }
.tez-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.tez-logout-link {
	font-size: 12.5px; font-weight: 600; color: var(--red); text-decoration: none; display: flex; align-items: center; gap: 6px;
	padding: 8px 14px; border-radius: 9px; border: 1px solid var(--red-light); background: var(--red-light);
}
.tez-logout-link:hover { background: #FADCDA; }

.tez-welcome-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--accent); text-transform: uppercase; margin-bottom: 6px; }
.tez-welcome-title { font-size: 26px; font-weight: 800; margin: 0 0 6px; }
.tez-welcome-sub { color: var(--text-muted); font-size: 13.5px; margin: 0 0 22px; }

/* ---------------- Stat cards ---------------- */
.tez-stat-row { display: flex; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.tez-stat {
	background: var(--card); border-radius: 14px; padding: 18px 18px 14px; flex: 1; min-width: 190px;
	border: 1px solid var(--border);
}
.tez-stat-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.tez-stat-icon { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
.tez-stat-icon svg { width: 20px; height: 20px; }
.tez-stat-icon.tez-icon-blue { background: var(--accent-light); color: var(--accent); }
.tez-stat-icon.tez-icon-green { background: var(--green-light); color: var(--green); }
.tez-stat-icon.tez-icon-amber { background: var(--amber-light); color: var(--amber); }
.tez-stat-icon.tez-icon-purple { background: var(--purple-light); color: var(--purple); }
.tez-stat-chevron { color: var(--text-muted); font-size: 15px; }
.tez-stat-num { font-size: 24px; font-weight: 800; }
.tez-stat-label { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.tez-stat-spark { margin-top: 10px; height: 28px; }

/* ---------------- Content grid ---------------- */
.tez-dash-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 16px; }
.tez-dash-grid-2 { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; align-items: start; }

.tez-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; margin-bottom: 16px; min-width: 0; }
.tez-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.tez-card-head h3 { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.tez-view-all { font-size: 12.5px; color: var(--accent); text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 4px; }

.tez-notice { background: var(--green-light); color: #0f6e56; padding: 10px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 13px; }
.tez-hint { color: var(--text-muted); font-size: 13px; margin-top: -6px; }
.tez-empty { color: var(--text-muted); font-size: 13px; }
.tez-muted { color: var(--text-muted); font-size: 12px; }

/* ---------------- Forms ---------------- */
.tez-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-bottom: 16px; }
.tez-row-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
.tez-field { display: flex; flex-direction: column; gap: 6px; }
.tez-field-full { margin-bottom: 14px; }
.tez-field label { font-size: 12.5px; font-weight: 600; color: var(--text); }
.tez-field input, .tez-field textarea {
	width: 100%; padding: 10px 12px; border-radius: 9px; border: 1.5px solid #CBD3E1; font-size: 13.5px; font-family: inherit; background: #fff; color: var(--text);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.tez-field select {
	appearance: none; -webkit-appearance: none; width: 100%;
	padding: 10px 36px 10px 12px; border-radius: 9px; border: 1.5px solid #CBD3E1; font-size: 13.5px; font-family: inherit; background-color: #fff; color: var(--text);
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%237A8296" stroke-width="2"><path d="M6 9l6 6 6-6"/></svg>');
	background-repeat: no-repeat; background-position: right 12px center;
	transition: border-color .15s ease, box-shadow .15s ease; cursor: pointer;
}
.tez-field input:hover, .tez-field select:hover, .tez-field textarea:hover { border-color: #9BA8C2; }
.tez-field input:focus, .tez-field select:focus, .tez-field textarea:focus {
	outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light);
}
.tez-field-icon-wrap input, .tez-field-icon-wrap select { width: 100%; }
.tez-phone-input-group {
	display: flex; align-items: center; border-radius: 9px; border: 1.5px solid #CBD3E1; background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease; overflow: hidden;
}
.tez-phone-input-group:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.tez-phone-prefix {
	padding: 10px 10px 10px 12px; font-size: 13.5px; font-weight: 600; color: var(--text-muted);
	background: #F5F6F9; border-right: 1.5px solid #CBD3E1; user-select: none; flex-shrink: 0;
}
.tez-phone-input-group input { border: none !important; flex: 1; padding: 10px 12px; }
.tez-phone-input-group input:focus { outline: none; box-shadow: none !important; }

.tez-checkbox-row {
	display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
	font-size: 13.5px; font-weight: 400; color: var(--text); margin-bottom: 11px; max-width: fit-content;
}
.tez-checkbox-row:last-child { margin-bottom: 0; }
.tez-checkbox-row input[type=checkbox] {
	width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; accent-color: var(--accent);
	cursor: pointer; border-radius: 5px; border: 1.5px solid #CBD3E1;
}
.tez-checkbox-row span { line-height: 1.4; }

.tez-password-wrap { position: relative; }
.tez-password-wrap input[type=password], .tez-password-wrap input[type=text] { width: 100%; padding-right: 38px; box-sizing: border-box; }
.tez-password-toggle {
	position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
	border: none; background: none; cursor: pointer; color: var(--text-muted); padding: 3px; display: flex; line-height: 0;
}
.tez-password-toggle:hover { color: var(--accent); }

.tez-cv-upload-wrap { display: flex; flex-direction: column; gap: 6px; }
.tez-cv-dropzone {
	display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px;
	border: 1.5px dashed #C7D0E8; background: linear-gradient(120deg, #F7F9FE, #FAFAFF); cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}
.tez-cv-dropzone:hover { border-color: var(--accent); background: var(--accent-light); }
.tez-cv-dropzone.tez-cv-dropzone-filled { border-style: solid; border-color: var(--green); background: var(--green-light); }
.tez-cv-dropzone-icon {
	width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, #5B7CFA, #2F5FE0);
	color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tez-cv-dropzone.tez-cv-dropzone-filled .tez-cv-dropzone-icon { background: linear-gradient(135deg, #34C38F, #1D9E75); }
.tez-cv-dropzone-text { font-size: 13px; color: var(--text); line-height: 1.5; }
.tez-cv-dropzone-text strong { color: var(--accent); }
.tez-cv-dropzone-text small { display: block; color: var(--text-muted); font-size: 11.5px; margin-top: 1px; }
.tez-cv-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.tez-cv-status { font-size: 12px; color: var(--text-muted); min-height: 14px; padding-left: 2px; }
.tez-cv-status-ok { color: var(--green); font-weight: 600; }
.tez-cv-status-error { color: var(--red); }
.tez-cv-link { display: inline-flex; align-items: center; gap: 3px; color: var(--accent); font-size: 11px; font-weight: 600; margin-left: 6px; text-decoration: none; }
.tez-cv-link:hover { text-decoration: underline; }

.tez-cv-pill {
	display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 7px;
	background: var(--accent-light); color: var(--accent); font-size: 11.5px; font-weight: 600;
	text-decoration: none; border: 1px solid transparent; transition: all .15s ease;
}
.tez-cv-pill:hover { background: var(--accent); color: #fff; text-decoration: none; box-shadow: 0 4px 10px rgba(47,95,224,.25); }
.tez-cv-pill svg { flex-shrink: 0; }
.tez-cv-pill-empty { color: var(--text-muted); font-size: 12.5px; }

.tez-inline-date-pencil {
	border: none; background: none; cursor: pointer; padding: 4px; border-radius: 6px; color: var(--text-muted);
	display: inline-flex; align-items: center;
}
.tez-inline-date-pencil:hover { background: var(--bg); color: var(--accent); }

/* Forms with several columns (Add Job, Add Client) — fields now
   correctly stretch to fill their grid column (width: 100% above),
   so the card stays full width like the rest of the app. */

.tez-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 9px; border: 1px solid var(--border); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--text); cursor: pointer; text-decoration: none; }
.tez-btn-light-red { background: var(--red-light); border-color: var(--red-light); color: var(--red); }
.tez-btn-light-red svg { stroke: var(--red); }
.tez-btn-light-red:hover { filter: brightness(0.97); }
.tez-btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.tez-btn-secondary { background: var(--accent-light); border-color: var(--accent-light); color: var(--accent); }
.tez-btn-block { width: 100%; justify-content: center; padding: 12px; }
.tez-btn-export {
	background: linear-gradient(135deg, #ffffff, #F4F8FF);
	border: 1.5px solid var(--accent-light);
	color: var(--accent);
	font-weight: 700;
	transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}
.tez-btn-export svg { stroke: var(--accent); transition: stroke .15s ease; }
.tez-btn-export:hover { background: linear-gradient(135deg, var(--accent), #5B7CFA); border-color: var(--accent); color: #fff; transform: translateY(-1px); }
.tez-btn-export:hover svg { stroke: #fff; }

/* ---------------- Tables ---------------- */
.tez-table { width: 100%; min-width: 1150px; border-collapse: collapse; margin-top: 10px; }
.tez-payment-table { min-width: 0 !important; width: 100%; table-layout: auto; }
.tez-payment-table th, .tez-payment-table td { white-space: nowrap; padding: 8px 14px; }
.tez-table th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); padding: 10px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.tez-table td { padding: 12px 14px; font-size: 13.5px; border-bottom: 1px solid var(--border); vertical-align: middle; white-space: nowrap; }
.tez-table-compact th { padding: 8px 9px; font-size: 10px; }
.tez-table-compact td { padding: 8px 9px; font-size: 12.5px; }
.tez-table-natural { min-width: 0; width: 100%; }
.tez-table td .tez-cand-id, .tez-table td .tez-cell-icon { white-space: normal; }
.tez-table tr:last-child td { border-bottom: none; }
.tez-table tbody tr { transition: background-color .1s ease; }
.tez-table tbody tr:hover { background-color: #F7F9FC; }

.tez-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 600; }
.tez-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tez-badge-pending, .tez-badge-open, .tez-badge-trial { background: var(--gray-light); color: var(--gray-text); }
.tez-badge-screening { background: #EFEFEF; color: #555; }
.tez-badge-interview, .tez-badge-active { background: var(--accent-light); color: var(--accent); }
.tez-badge-expired { background: var(--red-light); color: var(--red); }
.tez-badge-selected, .tez-badge-on_hold { background: var(--amber-light); color: var(--amber); }
.tez-badge-hired, .tez-badge-filled { background: var(--green-light); color: var(--green); }
.tez-badge-joined { background: var(--teal-light); color: var(--teal); }
.tez-badge-rejected, .tez-badge-expired, .tez-badge-closed { background: var(--red-light); color: var(--red); }
.tez-badge-hold { background: var(--gray-light); color: var(--gray-text); }

.tez-tag { font-size: 11.5px; color: var(--text-muted); border: 1px solid var(--border); padding: 2px 8px; border-radius: 6px; }

/* ---------------- Quick actions ---------------- */
.tez-quick-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.tez-quick-action { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; background: #FAFBFD; border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text); text-decoration: none; }
.tez-quick-action.tez-quick-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.tez-quick-action .tez-qa-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------------- Timeline ---------------- */
.tez-timeline { margin-top: 10px; }
.tez-timeline-item { display: flex; gap: 14px; padding-bottom: 18px; position: relative; }
.tez-timeline-item:last-child { padding-bottom: 0; }
.tez-timeline-item::before {
	content: ''; position: absolute; left: 15px; top: 32px; bottom: 0; width: 1px; background: var(--border);
}
.tez-timeline-item:last-child::before { display: none; }
.tez-timeline-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tez-timeline-icon svg { width: 15px; height: 15px; }
.tez-timeline-icon.tez-tl-green { background: var(--green-light); color: var(--green); }
.tez-timeline-icon.tez-tl-blue { background: var(--accent-light); color: var(--accent); }
.tez-timeline-icon.tez-tl-purple { background: var(--purple-light); color: var(--purple); }
.tez-timeline-text { font-size: 13.5px; font-weight: 600; }
.tez-timeline-sub { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.tez-timeline-time { margin-left: auto; font-size: 11.5px; color: var(--text-muted); white-space: nowrap; }

/* ---------------- Help card ---------------- */
.tez-help-card { text-align: center; padding: 26px 20px; }
.tez-help-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.tez-help-icon svg { width: 24px; height: 24px; }
.tez-help-card h4 { font-size: 15px; margin: 0 0 8px; }
.tez-help-card p { font-size: 12.5px; color: var(--text-muted); margin: 0 0 16px; line-height: 1.5; }

.tez-status-strip { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.tez-status-pill { flex: 1; min-width: 120px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.tez-status-count { font-size: 20px; font-weight: 700; }
.tez-status-label { font-size: 11.5px; color: var(--text-muted); }

.tez-job-bar { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.tez-job-bar select { padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border); font-weight: 600; min-width: 300px; }
.tez-job-meta { display: flex; gap: 20px; margin-left: auto; }
.tez-job-meta div { text-align: right; }
.tez-job-meta strong { display: block; font-size: 16px; }
.tez-job-meta span { font-size: 11px; color: var(--text-muted); }

.tez-status-select { padding: 5px 8px; border-radius: 6px; border: 1px solid var(--border); font-size: 12.5px; }
.tez-copy-input { width: 100%; padding: 6px 8px; border-radius: 6px; border: 1px solid var(--border); font-size: 12px; color: var(--text-muted); }

/* ---------------- Hiring desk (premium) ---------------- */
.tez-hd-hero {
	background: linear-gradient(120deg, #EAF0FF, #F5F1FF);
	border-radius: 16px; padding: 20px 24px; margin-bottom: 16px;
	display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.tez-hd-hero-illustration { display: flex; align-items: center; gap: 18px; }
.tez-hd-illus-icon {
	width: 60px; height: 60px; border-radius: 16px; background: #fff; color: var(--accent);
	display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(47,95,224,.15); flex-shrink: 0;
}
.tez-illus-2 { margin-left: -30px; background: var(--accent); color: #fff; }
.tez-hd-hero-text { display: flex; flex-direction: column; gap: 2px; }
.tez-hd-hero-text strong { font-size: 14.5px; color: var(--text); }
.tez-hd-hero-text span { font-size: 12px; color: var(--text-muted); }
.tez-hd-hero-stats { display: flex; gap: 22px; background: rgba(255,255,255,.7); border-radius: 12px; padding: 12px 22px; }
.tez-hd-hero-stat { text-align: center; }
.tez-hd-hero-stat strong { display: block; font-size: 19px; font-weight: 800; color: var(--accent); }
.tez-hd-hero-stat span { font-size: 11px; color: var(--text-muted); }

.tez-hd-jobcard { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.tez-hd-job-select-row { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 320px; }
.tez-hd-job-label {
	display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 800;
	color: var(--accent); text-transform: uppercase; letter-spacing: .04em;
}
.tez-hd-job-label svg { flex-shrink: 0; }
#tez-hd-job-cselect { width: 100%; }
.tez-job-select-full { flex: 1; width: 100%; min-width: 0; padding: 13px 40px 13px 16px; font-size: 15px; }
.tez-job-select-lg {
	appearance: none; -webkit-appearance: none;
	padding: 10px 36px 10px 14px; border-radius: 10px; border: 1px solid var(--border);
	font-weight: 700; font-size: 14px; min-width: 260px; background-color: #fff; cursor: pointer;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%232F5FE0" stroke-width="2.2"><path d="M6 9l6 6 6-6"/></svg>');
	background-repeat: no-repeat; background-position: right 12px center;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.tez-job-select-lg:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.tez-hd-side-note {
	display: flex; align-items: center; gap: 10px; background: var(--accent-light); color: var(--accent);
	padding: 10px 16px; border-radius: 10px; font-size: 12px;
}
.tez-hd-side-note strong { display: block; font-size: 13px; }
.tez-hd-mini-stats { gap: 22px; padding: 10px 20px; }
.tez-hd-mini-stat { text-align: center; }
.tez-hd-mini-stat strong { display: block; font-size: 17px; font-weight: 800; }
.tez-hd-deadline { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); margin-top: 8px; }
.tez-hd-deadline strong { color: var(--text); font-weight: 700; }
.tez-hd-mini-stat span { display: block; font-size: 10.5px; color: var(--accent); opacity: .85; white-space: nowrap; }

.tez-hd-mini-banner {
	display: flex; align-items: center; gap: 10px; background: linear-gradient(120deg, #EAF0FF, #F5F1FF);
	border-radius: 12px; padding: 8px 16px; margin-bottom: 10px; font-size: 13px; color: var(--text);
}
.tez-hd-mini-banner-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tez-hd-mini-banner-left { display: flex; align-items: center; gap: 10px; min-width: 0; overflow: hidden; }
.tez-hd-mini-banner-icon {
	width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #5B7CFA, #2F5FE0);
	color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.tez-status-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tez-status-box { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 6px 14px 6px 6px; display: inline-flex; align-items: center; gap: 8px; }
.tez-status-box-icon { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tez-status-box-icon svg { width: 13px; height: 13px; }
.tez-status-box-num { font-size: 13px; font-weight: 800; line-height: 1; }
.tez-status-box-label { font-size: 12px; color: var(--text-muted); margin-top: 0; }

.tez-status-grid-md { gap: 12px; }
.tez-status-grid-md .tez-status-box { padding: 12px 20px 12px 10px; border-radius: 14px; gap: 12px; }
.tez-status-grid-md .tez-status-box-icon { width: 36px; height: 36px; }
.tez-status-grid-md .tez-status-box-icon svg { width: 17px; height: 17px; }
.tez-status-grid-md .tez-status-box-num { font-size: 18px; display: block; }
.tez-status-grid-md .tez-status-box-label { font-size: 12.5px; display: block; }

.tez-sb-pending .tez-status-box-icon { background: var(--amber-light); color: var(--amber); }
.tez-sb-screening .tez-status-box-icon { background: var(--accent-light); color: var(--accent); }
.tez-sb-interview .tez-status-box-icon { background: var(--purple-light); color: var(--purple); }
.tez-sb-selected .tez-status-box-icon { background: var(--green-light); color: var(--green); }
.tez-sb-hired .tez-status-box-icon { background: #D9F2E6; color: #0F7A52; }
.tez-sb-joined .tez-status-box-icon { background: var(--teal-light); color: var(--teal); }
.tez-sb-rejected .tez-status-box-icon { background: var(--red-light); color: var(--red); }
.tez-sb-hold .tez-status-box-icon { background: var(--gray-light); color: var(--gray-text); }

.tez-avatar-circle { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.tez-cand-row { display: flex; align-items: center; gap: 10px; }
.tez-cand-id { font-size: 11px; color: var(--text-muted); }
.tez-cell-icon { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.tez-cell-icon svg { color: var(--text-muted); flex-shrink: 0; }

.tez-tooltip-wrap { position: relative; display: inline-flex; }
.tez-tooltip-bubble {
	display: none; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
	background: #1B2333; color: #fff; font-size: 12px; line-height: 1.4; font-weight: 400;
	padding: 8px 12px; border-radius: 8px; white-space: normal; width: max-content; max-width: 240px;
	box-shadow: 0 10px 24px rgba(20,25,50,.25); z-index: 500; text-align: left;
}
.tez-tooltip-bubble::after {
	content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
	border: 5px solid transparent; border-top-color: #1B2333;
}
.tez-tooltip-wrap:hover .tez-tooltip-bubble { display: block; }

#tez-js-tooltip-bubble {
	display: none; position: fixed; background: #1B2333; color: #fff; font-size: 12px; line-height: 1.5;
	font-weight: 400; padding: 9px 13px; border-radius: 8px; white-space: pre-line; width: max-content;
	max-width: 260px; box-shadow: 0 10px 24px rgba(20,25,50,.3); z-index: 9999; text-align: left; pointer-events: none;
}

.tez-quick-view-trigger { cursor: pointer; border-bottom: 1px dashed transparent; transition: border-color .15s ease, color .15s ease; }
.tez-quick-view-trigger:hover { border-bottom-color: var(--accent); color: var(--accent); }
#tez-qv-card {
	display: none; position: fixed; z-index: 9999; width: 320px; max-width: calc(100vw - 20px);
	background: #fff; border-radius: 14px; box-shadow: 0 14px 36px rgba(20,25,50,.18); border: 1px solid var(--border);
	padding: 16px; max-height: 420px; overflow-y: auto; text-align: left;
}
.tez-qv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.tez-qv-avatar {
	width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #5B7CFA, #2F5FE0); color: #fff;
	display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0;
}
.tez-qv-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.tez-qv-status-badge { font-size: 10.5px; font-weight: 700; padding: 2px 9px; border-radius: 10px; background: var(--accent-light); color: var(--accent); }
.tez-qv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.tez-qv-field { display: flex; flex-direction: column; gap: 2px; }
.tez-qv-label { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }
.tez-qv-value { font-size: 12.5px; color: var(--text); font-weight: 600; word-break: break-word; }
.tez-qv-cv-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 12.5px; font-weight: 700; color: var(--accent); text-decoration: none; }
.tez-qv-eye-trigger {
	width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); background: #fff; color: var(--text-muted);
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all .15s ease;
}
.tez-qv-eye-trigger:hover { background: var(--accent-light); color: var(--accent); border-color: var(--accent); }
.tez-qv-section-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin: 16px 0 8px; }
.tez-qv-section-title:first-of-type { margin-top: 4px; }
.tez-qv-description { font-size: 12.5px; color: var(--text); line-height: 1.6; background: var(--bg); border-radius: 8px; padding: 10px 12px; max-height: 150px; overflow-y: auto; }
.tez-qv-description p { margin: 0 0 8px; }
.tez-qv-description p:last-child { margin-bottom: 0; }
.tez-qv-download { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.tez-qv-status-select { flex: 1; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--border); font-size: 12.5px; color: var(--text); background: #fff; }
.tez-qv-download-btn { flex-shrink: 0; text-decoration: none; }

.tez-status-dd-wrap { position: relative; display: inline-block; }
.tez-status-dot { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; pointer-events: none; }
.tez-status-dot.tez-js-tooltip { pointer-events: auto; z-index: 2; }
.tez-status-dot.tez-js-tooltip::before { content: ''; position: absolute; inset: -7px; border-radius: 50%; }
.tez-status-select-lg {
	appearance: none; padding: 9px 34px 9px 30px; border-radius: 9px; border: 1px solid var(--border);
	font-size: 13px; font-weight: 700; min-width: 160px; background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%237A8296" stroke-width="2"><path d="M6 9l6 6 6-6"/></svg>') no-repeat right 10px center;
}
.tez-cselect-lg .tez-cselect-trigger { padding-left: 30px; min-width: 160px; font-weight: 700; }
.tez-table-compact .tez-cselect-lg .tez-cselect-trigger { min-width: 125px; }
.tez-table-compact .tez-tag { font-size: 10.5px; padding: 3px 8px; }
.tez-table-compact .tez-cell-icon { gap: 4px; font-size: 12.5px; }

.tez-status-fill-pending .tez-cselect-trigger { background: var(--amber-light); border-color: var(--amber-light); }
.tez-status-fill-screening .tez-cselect-trigger { background: var(--accent-light); border-color: var(--accent-light); }
.tez-status-fill-interview .tez-cselect-trigger { background: var(--purple-light); border-color: var(--purple-light); }
.tez-status-fill-selected .tez-cselect-trigger { background: var(--green-light); border-color: var(--green-light); }
.tez-status-fill-hired .tez-cselect-trigger { background: #D9F2E6; border-color: #D9F2E6; }
.tez-status-fill-joined .tez-cselect-trigger { background: var(--teal-light); border-color: var(--teal-light); }
.tez-status-fill-rejected .tez-cselect-trigger { background: var(--red-light); border-color: var(--red-light); }
.tez-status-fill-hold .tez-cselect-trigger { background: var(--gray-light); border-color: var(--gray-light); }
.tez-status-fill-pending .tez-cselect-trigger:hover,
.tez-status-fill-screening .tez-cselect-trigger:hover,
.tez-status-fill-interview .tez-cselect-trigger:hover,
.tez-status-fill-selected .tez-cselect-trigger:hover,
.tez-status-fill-hired .tez-cselect-trigger:hover,
.tez-status-fill-joined .tez-cselect-trigger:hover,
.tez-status-fill-rejected .tez-cselect-trigger:hover,
.tez-status-fill-hold .tez-cselect-trigger:hover { filter: brightness(0.97); }
.tez-dot-pending { background: var(--amber); }
.tez-dot-screening { background: var(--accent); }
.tez-dot-interview { background: var(--purple); }
.tez-dot-selected { background: var(--amber); }
.tez-dot-hired { background: #0F7A52; }
.tez-dot-joined { background: var(--teal); }
.tez-dot-rejected { background: var(--red); }
.tez-dot-hold { background: var(--gray-text); }
.tez-dot-payment-pending { background: var(--amber); }
.tez-dot-payment-invoiced { background: var(--accent); }
.tez-dot-payment-received { background: #0F7A52; }
.tez-dot-payment-not_payable { background: var(--red); }
.tez-status-fill-payment-pending .tez-cselect-trigger { background: var(--amber-light); border-color: var(--amber-light); }
.tez-status-fill-payment-invoiced .tez-cselect-trigger { background: var(--accent-light); border-color: var(--accent-light); }
.tez-status-fill-payment-received .tez-cselect-trigger { background: #D9F2E6; border-color: #D9F2E6; }
.tez-status-fill-payment-not_payable .tez-cselect-trigger { background: var(--red-light); border-color: var(--red-light); }
.tez-status-fill-payment-pending .tez-cselect-trigger:hover,
.tez-status-fill-payment-invoiced .tez-cselect-trigger:hover,
.tez-status-fill-payment-received .tez-cselect-trigger:hover,
.tez-status-fill-payment-not_payable .tez-cselect-trigger:hover { filter: brightness(0.97); }

.tez-actions-kebab { color: var(--text-muted); cursor: pointer; }
.tez-pagination { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin-top: 14px; }
.tez-bulk-bar { align-items: center; gap: 10px; padding: 10px 14px; background: var(--accent-light); border-radius: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.tez-bulk-bar strong { color: var(--accent); }
.tez-page-btn { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border); background: #fff; display: flex; align-items: center; justify-content: center; font-size: 12.5px; color: var(--text-muted); text-decoration: none; }
.tez-page-btn:hover { border-color: var(--accent); color: var(--accent); }
.tez-page-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 700; }

.tez-hd-banner {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	background: linear-gradient(120deg, #EAF0FF, #F5F1FF); border-radius: 14px; padding: 18px 24px; margin-top: 16px;
}
.tez-hd-banner h4 { margin: 0 0 4px; font-size: 14.5px; }
.tez-hd-banner p { margin: 0; font-size: 12.5px; color: var(--text-muted); }

/* ---------------- Breadcrumb + tip box ---------------- */
.tez-breadcrumb { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.tez-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.tez-breadcrumb .tez-sep { margin: 0 6px; }
.tez-page-header-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.tez-tip-box {
	display: flex; gap: 10px; align-items: flex-start; background: var(--accent-light); border-radius: 12px;
	padding: 12px 16px; font-size: 12px; color: var(--text); max-width: 320px;
}
.tez-tip-box .tez-tip-icon { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.tez-required { color: var(--red); }

/* ---------------- Icon-in-field inputs ---------------- */
.tez-field-icon-wrap { position: relative; }
.tez-field-icon-wrap .tez-field-icon {
	position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--text-muted);
	pointer-events: none; display: flex; z-index: 1;
}
.tez-field-icon-wrap .tez-field-icon.tez-rupee { font-size: 13px; font-weight: 700; }
.tez-field-icon-wrap input, .tez-field-icon-wrap select { padding-left: 34px; }

/* ---------------- Custom searchable dropdown ---------------- */
.tez-cselect { position: relative; }
.tez-toolbar .tez-cselect { min-width: 170px; }
.tez-cselect-trigger {
	width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 9px; border: 1.5px solid #CBD3E1;
	background: #fff; cursor: pointer; font-size: 13.5px; text-align: left; font-family: inherit;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.tez-cselect-trigger:hover { border-color: #9BA8C2; }
.tez-cselect-trigger.tez-open { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.tez-cselect-trigger-lg { padding: 13px 40px 13px 16px; font-size: 15px; font-weight: 700; flex: 1; border-width: 2px; border-color: var(--accent); }
.tez-cselect-trigger-lg:hover { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.tez-hd-filter-narrow { max-width: 110px !important; min-width: 0 !important; flex-shrink: 0 !important; }
.tez-hd-filter-narrow .tez-cselect-trigger { padding: 8px 10px !important; font-size: 12.5px !important; }
.tez-hd-filter-narrow .tez-cselect-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 78px; display: inline-block; }
.tez-cselect-icon-box { width: 26px; height: 26px; border-radius: 7px; background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tez-cselect-icon-box.tez-icon-selected { background: var(--accent); color: #fff; }
.tez-cselect-label { flex: 1; color: var(--text); }
.tez-cselect-label-suffix { color: var(--text-muted); font-weight: 400; }
.tez-cselect-placeholder { color: var(--text-muted); }
.tez-cselect-chevron { color: var(--text-muted); transition: transform .15s ease; display: flex; }
.tez-cselect-trigger.tez-open .tez-cselect-chevron { transform: rotate(180deg); }

.tez-cselect-panel {
	display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60;
	background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 28px rgba(20,25,50,.14); padding: 10px; max-height: 280px; overflow-y: auto;
}
.tez-cselect.tez-open .tez-cselect-panel { display: block; }
.tez-cselect-search { position: relative; margin-bottom: 8px; }
.tez-cselect-search input { width: 100%; padding: 8px 10px 8px 32px; border-radius: 8px; border: 1px solid var(--border); font-size: 13px; background: var(--bg); }
.tez-cselect-search .tez-search-icon { left: 10px; }
.tez-cselect-option { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 9px; cursor: pointer; font-size: 13.5px; }
.tez-multiselect-option { position: relative; }
.tez-multiselect-option input[type=checkbox] {
	width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--accent); cursor: pointer; margin: 0;
}
.tez-multiselect-option .tez-cselect-check { display: none; }
.tez-multiselect-option .tez-cselect-option-text { flex: 1; }
.tez-multiselect .tez-cselect-panel { max-height: 220px; overflow-y: auto; }

/* ---------------- Filter / Sort dropdown ---------------- */
.tez-sort-dd { position: relative; display: inline-block; }
.tez-sort-trigger {
	display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 9px;
	border: 1.5px solid #CBD3E1; background: #fff; font-size: 13.5px; font-weight: 600; color: var(--text);
	cursor: pointer; white-space: nowrap;
}
.tez-sort-trigger:hover, .tez-sort-trigger.tez-open { border-color: var(--accent); }
.tez-sort-trigger .tez-cselect-chevron { color: #7A8296; transition: transform .15s ease; }
.tez-sort-trigger.tez-open .tez-cselect-chevron { transform: rotate(180deg); }
.tez-sort-panel {
	display: none; position: absolute; top: calc(100% + 6px); right: 0; min-width: 230px;
	background: #fff; border-radius: 12px; box-shadow: 0 14px 32px rgba(20,25,50,.16); border: 1px solid #EDEFF4;
	padding: 8px 0; z-index: 400; max-height: 420px; overflow-y: auto;
}
.tez-sort-dd.tez-open .tez-sort-panel { display: block; }
.tez-sort-group-label {
	font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #9AA2B5;
	padding: 10px 16px 6px;
}
.tez-sort-divider { height: 1px; background: #EDEFF4; margin: 6px 0; }
.tez-sort-option {
	display: flex; align-items: center; gap: 10px; padding: 9px 16px; font-size: 13.5px; color: var(--text);
	cursor: pointer; white-space: nowrap;
}
.tez-sort-option:hover { background: #F5F6F9; }
.tez-sort-option.tez-active { background: var(--accent); color: #fff; }
.tez-sort-option svg { flex-shrink: 0; }
#tez-hd-job-cselect .tez-cselect-option-text { font-weight: 700; }
.tez-cselect-option:hover { background: var(--bg); }
.tez-cselect-option.tez-selected { background: var(--accent-light); }
.tez-cselect-check { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; display: none; align-items: center; justify-content: center; }
.tez-cselect-check svg { width: 11px; height: 11px; }
.tez-cselect-option.tez-selected .tez-cselect-check { display: flex; }
.tez-cselect-add { display: flex; justify-content: space-between; align-items: center; padding: 10px 8px 4px; border-top: 1px solid var(--border); margin-top: 6px; font-size: 12px; }
.tez-cselect-add a { color: var(--accent); font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 5px; }
.tez-cselect-add span { color: var(--text-muted); }
.tez-cselect-empty { padding: 10px 8px; font-size: 12.5px; color: var(--text-muted); }

.tez-section-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tez-card-icon-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.tez-card-icon-head h4 { margin: 0 0 2px; font-size: 14.5px; }
.tez-card-icon-head p { margin: 0; font-size: 12px; color: var(--text-muted); }
.tez-loc-inline { display: flex; align-items: center; gap: 5px; font-size: 13px; }
.tez-loc-inline svg { color: var(--text-muted); flex-shrink: 0; }
.tez-fee-sub { font-size: 11.5px; color: var(--text-muted); margin-top: 1px; }

@media (max-width: 1100px) {
	.tez-status-grid { grid-template-columns: repeat(4, 1fr); }
	.tez-topbar { gap: 10px; padding: 12px 16px; }
	.tez-topbar-company-tagline { display: none; }
	.tez-topbar-search { max-width: 220px; }
	.tez-topbar-search-kbd { display: none; }
	.tez-topbar-right { gap: 8px; }
	.tez-upgrade-btn { font-size: 0; padding: 8px; }
	.tez-upgrade-btn svg { width: 16px; height: 16px; }
	.tez-bell-label { display: none; }
	.tez-user-chip-role { display: none; }
	.tez-user-chip-text { max-width: 90px; overflow: hidden; }
	.tez-user-chip-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 90px; }
	.tez-logout-link { font-size: 0; padding: 8px; }
	.tez-logout-link svg { width: 15px; height: 15px; }
}
@media (max-width: 780px) {
	.tez-status-grid { grid-template-columns: repeat(2, 1fr); }
	.tez-hd-hero { justify-content: center; }
}

/* ---------------- Knowledge Base ---------------- */
.tez-kb-hero {
	background: linear-gradient(120deg, #EEF1FF, #F6F1FF);
	border-radius: 16px; padding: 32px 32px 28px; margin-bottom: 16px; text-align: center;
}
.tez-kb-hero-badge {
	display: inline-flex; align-items: center; gap: 6px; background: rgba(47,95,224,.1); color: var(--accent);
	font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 20px; margin-bottom: 14px;
}
.tez-kb-hero h1 { font-size: 26px; font-weight: 800; margin: 0 0 8px; color: var(--text); }
.tez-kb-hero p { font-size: 15px; color: var(--text-muted); margin: 0 0 22px; }
.tez-kb-hero-search {
	max-width: 480px; margin: 0 auto; display: flex; align-items: center; gap: 10px;
	background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 16px;
	box-shadow: 0 4px 14px rgba(20,25,50,.05); transition: border-color .15s ease, box-shadow .15s ease;
}
.tez-kb-hero-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.tez-kb-hero-search .tez-search-icon { position: static; transform: none; width: 16px; height: 16px; flex-shrink: 0; }
.tez-kb-hero-search input { border: none; outline: none; flex: 1; font-size: 14px; background: transparent; color: var(--text); }
.tez-kb-card { padding-top: 24px; }
.tez-kb-layout { display: flex; gap: 24px; align-items: flex-start; }
.tez-kb-nav { display: flex; flex-direction: column; gap: 2px; width: 220px; flex-shrink: 0; position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; }
.tez-kb-nav::-webkit-scrollbar { display: none; }
.tez-kb-nav-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 7px; border-radius: 9px; border: none; background: none; text-align: left; font-size: 14.5px; color: var(--text); cursor: pointer; width: 100%; transition: background .15s ease; }
.tez-kb-nav-icon {
	width: 28px; height: 28px; border-radius: 8px; background: var(--bg); color: var(--text-muted);
	display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .15s ease, color .15s ease;
}
.tez-kb-nav-item:hover { background: var(--bg); }
.tez-kb-nav-item.tez-active { background: var(--accent-light); color: var(--accent); font-weight: 700; }
.tez-kb-nav-item.tez-active .tez-kb-nav-icon { background: var(--accent); color: #fff; }
.tez-kb-content { flex: 1; min-width: 0; }
.tez-kb-panel { display: block; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--border); scroll-margin-top: 90px; }
.tez-kb-panel:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.tez-kb-panel.tez-kb-hidden { display: none; }
.tez-kb-panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tez-kb-panel-icon {
	width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #5B7CFA, #2F5FE0); color: #fff;
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tez-kb-panel-head h3 { margin: 0; font-size: 21px; }
.tez-kb-panel h4 { margin: 20px 0 7px; font-size: 16px; }
.tez-kb-panel p, .tez-kb-panel li { font-size: 15px; color: var(--text); line-height: 1.7; }
.tez-kb-panel ul, .tez-kb-panel ol { padding-left: 22px; margin: 8px 0; }

.tez-inline-form { background: #FAFBFC; border: 1px solid var(--border); border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.tez-hidden { display: none; }
.tez-inline { display: inline; }
.tez-link-btn { background: none; border: none; color: var(--red); font-size: 12.5px; cursor: pointer; padding: 0; text-decoration: underline; }

.tez-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.tez-toolbar input[type=text] { padding: 9px 12px 9px 34px; border-radius: 9px; border: 1.5px solid #CBD3E1; font-size: 13px; min-width: 220px; position: relative; }
.tez-toolbar input[type=number] {
	padding: 9px 12px; border-radius: 9px; border: 1.5px solid #CBD3E1; font-size: 13px; box-sizing: border-box;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.tez-toolbar input[type=text]:hover, .tez-toolbar input[type=number]:hover { border-color: #9BA8C2; }
.tez-toolbar input[type=text]:focus, .tez-toolbar input[type=number]:focus {
	outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light);
}
.tez-toolbar select {
	appearance: none; -webkit-appearance: none;
	padding: 9px 32px 9px 12px; border-radius: 9px; border: 1px solid var(--border); font-size: 13px; background-color: #fff;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%237A8296" stroke-width="2"><path d="M6 9l6 6 6-6"/></svg>');
	background-repeat: no-repeat; background-position: right 10px center; cursor: pointer;
}
.tez-toolbar select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.tez-toolbar-search { position: relative; }
.tez-toolbar-search input {
	padding: 9px 12px 9px 34px; border-radius: 9px; border: 1.5px solid #CBD3E1; font-size: 13px; min-width: 220px;
	font-family: inherit; box-sizing: border-box; transition: border-color .15s ease, box-shadow .15s ease;
}
.tez-toolbar-search input:hover { border-color: #9BA8C2; }
.tez-toolbar-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.tez-toolbar-search .tez-search-icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; color: var(--text-muted); }

.tez-footer-note { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--text-muted); margin-top: 24px; }
.tez-footer-note a { color: var(--text-muted); text-decoration: none; margin-left: 14px; }

/* ---------------- Toasts ---------------- */
.tez-toast-stack {
	position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 200;
	display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none;
}
.tez-toast {
	display: flex; align-items: center; gap: 8px; background: #0F7A52; color: #fff;
	padding: 11px 18px; border-radius: 10px; font-size: 13.5px; font-weight: 600;
	box-shadow: 0 10px 24px rgba(15,122,82,.3);
	transform: translateY(-12px); opacity: 0; transition: transform .2s ease, opacity .2s ease;
}
.tez-toast.tez-toast-show { transform: translateY(0); opacity: 1; }
.tez-toast.tez-toast-error { background: var(--red); box-shadow: 0 10px 24px rgba(163,45,45,.3); }
.tez-toast svg { width: 15px; height: 15px; flex-shrink: 0; }
.tez-row-fade-out { transition: opacity .25s ease; opacity: 0; }

/* ---------------- Kebab action menu ---------------- */
.tez-kebab-wrap { position: relative; display: inline-block; }
.tez-kebab-btn { cursor: pointer; color: var(--text-muted); display: inline-flex; padding: 4px; border-radius: 6px; }
.tez-kebab-btn:hover { background: var(--bg); }
.tez-kebab-menu {
	display: none; position: absolute; right: 0; top: calc(100% + 4px);
	background: #fff; border: 1px solid var(--border); border-radius: 9px;
	box-shadow: 0 10px 24px rgba(20,25,50,.16); min-width: 150px; z-index: 90; overflow: hidden;
}
.tez-kebab-menu.tez-open { display: block; }
.tez-kebab-menu button, .tez-kebab-menu a {
	display: block; width: 100%; text-align: left; padding: 9px 14px; font-size: 13px;
	background: none; border: none; cursor: pointer; color: var(--text); white-space: nowrap;
	text-decoration: none; box-sizing: border-box; font-family: inherit;
}
.tez-kebab-menu button:hover, .tez-kebab-menu a:hover { background: var(--bg); }
.tez-kebab-menu button.tez-danger { color: var(--red); }

/* ---------------- Modal ---------------- */
.tez-modal-overlay {
	display: none; position: fixed; inset: 0; background: rgba(10,14,30,.5); z-index: 300;
	align-items: center; justify-content: center; padding: 20px;
}
.tez-modal-overlay.tez-open { display: flex; }
.tez-modal {
	background: #fff; border-radius: 14px; padding: 26px 28px; max-width: 640px; width: 100%;
	max-height: 85vh; overflow-y: auto; position: relative;
}
.tez-modal-close {
	position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%;
	border: none; background: var(--bg); font-size: 18px; line-height: 1; cursor: pointer; color: var(--text-muted);
}
.tez-welcome-modal { max-width: 420px; text-align: center; padding: 32px 28px 28px; }
.tez-welcome-icon {
	width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #5B7CFA, #2F5FE0); color: #fff;
	display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.tez-welcome-modal h3 { font-size: 19px; margin: 0 0 8px; }
.tez-welcome-modal .tez-hint { margin: 0 0 20px; }
.tez-welcome-checklist { display: flex; flex-direction: column; gap: 10px; text-align: left; background: var(--bg); border-radius: 10px; padding: 14px 16px; margin-bottom: 22px; }
.tez-welcome-check-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); }
.tez-welcome-check-item svg { color: var(--green); flex-shrink: 0; }
.tez-modal h3 { margin: 0 0 18px; font-size: 16px; padding-right: 30px; }
.tez-upgrade-features { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.tez-upgrade-features li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text); }
.tez-upgrade-features li svg { color: var(--green); flex-shrink: 0; }

/* ---------------- Mobile hamburger + off-canvas sidebar ---------------- */
.tez-mobile-bar { display: none; }
.tez-mobile-bar-right { display: none; }
.tez-hamburger {
	display: none; width: 34px; height: 34px; border-radius: 8px; border: none;
	background: rgba(255,255,255,.08); color: #fff; align-items: center; justify-content: center;
	cursor: pointer; flex-shrink: 0; padding: 0;
}
.tez-hamburger svg { width: 18px; height: 18px; }
.tez-sidebar-backdrop { display: none; position: fixed; inset: 0; background: rgba(10,14,30,.5); z-index: 40; }
.tez-sidebar-backdrop.tez-open { display: block; }

@media (max-width: 900px) {
	.tez-dash-grid, .tez-dash-grid-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 780px) {
	.tez-mobile-bar {
		display: flex; align-items: center; gap: 12px; padding: 12px 16px;
		background: var(--sidebar); position: sticky; top: 0; z-index: 30;
	}
	.tez-mobile-bar .tez-hamburger { display: flex; }
	.tez-mobile-logo { color: #fff; font-weight: 700; font-size: 15px; }
	.tez-mobile-logo-img { height: 40px; width: auto; display: block; }
	.tez-mobile-logo span { color: #8FADFF; }
	.tez-mobile-bar-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
	.tez-mobile-bar-right .tez-notif-wrap { position: static; }
	.tez-mobile-bar-right .tez-bell { padding: 0; background: none; border: none; color: #fff; }
	.tez-mobile-bar-right .tez-bell svg { width: 20px; height: 20px; }
	.tez-mobile-bar-right .tez-bell-label { display: none; }
	.tez-mobile-bar-right .tez-notif-panel { position: fixed; top: 54px; right: 10px; left: 10px; width: auto; }
	.tez-mobile-bar-right .tez-user-chip { gap: 0; }
	.tez-mobile-bar-right .tez-avatar { display: none; }
	.tez-mobile-bar-right .tez-user-chip-role { display: block; color: rgba(255,255,255,.6); font-size: 10.5px; }
	.tez-mobile-bar-right .tez-user-chip-name { color: #fff; font-size: 13px; font-weight: 600; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; }
	.tez-mobile-bar-right .tez-user-chip-name .tez-chevron-down { display: none; }
	.tez-mobile-bar-right .tez-logout-link {
		color: #fff; font-size: 0; line-height: 0; display: inline-flex; align-items: center; justify-content: center;
		padding: 0; border: none; background: none; width: 26px; height: 26px; flex-shrink: 0;
	}
	.tez-mobile-bar-right .tez-logout-link:hover { background: rgba(255,255,255,.1); border-radius: 6px; }
	.tez-mobile-bar-right .tez-logout-link svg { width: 19px; height: 19px; }

	.tez-sidebar {
		position: fixed; top: 0; left: 0; bottom: 0; width: 260px;
		transform: translateX(-100%); transition: transform .25s ease; z-index: 50;
	}
	.tez-sidebar.tez-open { transform: translateX(0); }
	.tez-sidebar .tez-logo { display: none; }

	.tez-main { margin-left: 0; padding: 16px; }
	.tez-app { flex-direction: column; }
	.tez-row, .tez-row-3 { grid-template-columns: minmax(0, 1fr); }
	.tez-search { max-width: 100%; }
	.tez-topbar { display: none; }
	.tez-reports-pool-grid { grid-template-columns: 1fr !important; }
	.tez-plan-label { margin-bottom: 4px; }
	.tez-plan-card { padding: 8px 10px; }
	.tez-plan-sub { display: none; }
	.tez-plan-valid-row { padding-top: 6px; gap: 6px; }
	.tez-plan-valid-label { display: none; }
	.tez-plan-card-top { gap: 6px; }
	.tez-plan-name { font-size: 12.5px; }
	.tez-plan-badge { padding: 1px 6px; font-size: 10px; }
	.tez-stat-row { gap: 10px; }
	.tez-stat { flex: 0 0 calc(50% - 5px); min-width: 0; padding: 14px 14px 12px; }
	.tez-kb-layout { flex-direction: column; gap: 14px; }
	.tez-kb-nav { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 6px; position: static; max-height: none; overflow-y: visible; }
	.tez-kb-nav-item { width: auto; padding: 6px 10px 6px 6px; font-size: 12.5px; }
	.tez-kb-hero { padding: 22px 18px 20px; }
	.tez-kb-hero h1 { font-size: 20px; }
	.tez-sidebar-user { padding: 8px 6px 2px; gap: 8px; }
	.tez-sidebar-user .tez-avatar { width: 26px; height: 26px; font-size: 10.5px; }
	.tez-sidebar-user-name { font-size: 12px; }
	.tez-sidebar-user-email { font-size: 10px; }
	.tez-card-head { flex-wrap: wrap; gap: 10px; }
	.tez-toolbar-search { width: 100%; }
	.tez-toolbar-search input, .tez-toolbar input[type=text] { min-width: 0; width: 100%; box-sizing: border-box; }
	.tez-hd-mini-banner { flex-wrap: wrap; gap: 10px; }
	.tez-hd-mini-banner-left { flex-basis: 100%; }
	.tez-hd-mini-banner-text { display: none; }

	/* 2-column filter layout on mobile — Hiring Desk, Candidates,
	   Placement History, Reports. */
	#tez-hd-filter-bar, #tez-candidates-filter-bar, #tez-placements-filter-form, #tez-reports-filter-form {
		display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-left: 0 !important; margin-right: 0 !important;
	}
	#tez-hd-filter-bar > *, #tez-candidates-filter-bar > *, #tez-placements-filter-form > *, #tez-reports-filter-form > * {
		width: 100% !important; max-width: none !important; min-width: 0 !important; box-sizing: border-box;
	}
	#tez-candidates-filter-bar .tez-toolbar-search { grid-column: 1 / -1; }
	#tez-hd-filter-bar .tez-sort-dd, #tez-candidates-filter-bar .tez-sort-dd { grid-column: 1 / -1; width: auto !important; justify-self: end; }
	#tez-placements-filter-form input[type=hidden], #tez-reports-filter-form input[type=hidden] { display: none; }
	#tez-reports-filter-form .tez-hint { grid-column: 1 / -1; margin: 0 !important; }
}