/* =========================================================================
   Employees -- directory and the profile panel.

   Builds on leave.css (the page root carries .lv as well as .emp), so the
   buttons, fields, pills, tabs and table are the same components the Leave
   screens use. Everything here is scoped under .emp, except <person-picker>
   (.pp) and the avatar (.emp-av), which the picker also uses.
   ========================================================================= */

/* --------------------------------------------------------------- header */

.emp .emp-head { align-items: center; justify-content: space-between; }
.emp .emp-add-btn span { font-size: 18px; font-weight: 400; line-height: 1; margin-top: -2px; }
.emp .emp-gap { height: 18px; }

.emp-alert {
	padding: 10px 14px; margin: 0 0 14px; border-radius: 6px;
	background: #f1f6fb; color: #24527a; font-size: 13.5px;
}
.emp-alert.is-bad { background: #fdecec; color: #b3261e; }
.emp-alert.is-ok  { background: #e6f4ea; color: #176c2c; }

/* --------------------------------------------------------------- stats */

.emp-stats { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 0 0 16px; }
.emp-stat {
	appearance: none; display: flex; align-items: baseline; gap: 8px;
	padding: 10px 16px; border: 1px solid var(--lv-rule); border-radius: 8px;
	background: #fff; box-shadow: var(--lv-shadow); cursor: pointer;
	font-family: inherit; transition: border-color .15s, background .15s;
}
.emp-stat b { font-size: 20px; font-weight: 600; color: var(--lv-ink); line-height: 1; font-variant-numeric: tabular-nums; }
.emp-stat span { font-size: 13px; color: var(--lv-muted); white-space: nowrap; }
.emp-stat:hover { border-color: #b9cbe0; }
.emp-stat:focus-visible { outline: none; box-shadow: var(--lv-focus); }
.emp-stat.is-on { border-color: var(--lv-primary); background: var(--lv-tint); }
.emp-stat.is-warn b { color: #8a5300; }
.emp-stat.is-gap { border-style: dashed; }
.emp-stat.is-gap b { color: #b3261e; }
.emp-stat-sep { width: 1px; background: var(--lv-rule); margin: 4px 4px; }

/* ------------------------------------------------------------- toolbar */

.emp-toolbar {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
	padding: 14px 22px; border-bottom: 1px solid var(--lv-rule-lt);
}
.emp-search { position: relative; flex: 1 1 280px; max-width: 380px; }
.emp-search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: #8a939b; pointer-events: none; }
.emp-search .lv-input { height: 36px; padding-left: 34px; font-size: 13.5px; }
.emp-search-wide { max-width: none; margin-bottom: 6px; }
.emp-filter { flex: 0 1 220px; min-width: 180px; }
.emp-filter-sm { flex-basis: 160px; min-width: 150px; }
.emp-filter .lv-combo-input { height: 36px; }
.emp .lv-seg button { height: 36px; }
.emp-count { margin-left: auto; white-space: nowrap; }
.emp-clear { margin-left: 10px; font-weight: 600; color: var(--lv-fill); }

/* --------------------------------------------------------------- table */

.emp-table td { padding-top: 10px; padding-bottom: 10px; }
.emp-sort {
	appearance: none; border: 0; background: none; padding: 0; cursor: pointer;
	font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit;
	display: inline-flex; align-items: center; gap: 4px;
}
.emp-sort:hover { color: var(--lv-ink); }
.emp-sort-i { display: inline-block; width: 8px; height: 8px; opacity: 0; }
.emp-sort-i.is-up, .emp-sort-i.is-down { opacity: 1; }
.emp-sort-i.is-up::before   { content: "\25B2"; font-size: 8px; font-style: normal; }
.emp-sort-i.is-down::before { content: "\25BC"; font-size: 8px; font-style: normal; }

.emp-row { cursor: pointer; }
.emp-row:hover td, .emp-row:focus td { background: var(--lv-tint) !important; }
.emp-row:focus { outline: none; }
.emp-row.is-sel td { background: #e6f2fd !important; }
.emp-row.is-gone .emp-who-t b { color: var(--lv-muted); }

.emp-who { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.emp-who-t { display: flex; flex-direction: column; min-width: 0; }
.emp-who-t b { font-weight: 600; color: var(--lv-ink); font-size: 14px; }
.emp-who-t small { font-size: 12.5px; color: var(--lv-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.emp-code { font-variant-numeric: tabular-nums; white-space: nowrap; }
.emp-title { color: var(--lv-ink); }
.emp-missing { font-size: 12.5px; color: #b3261e; font-style: italic; }
.emp-muted { color: var(--lv-muted); }

.emp-role, .emp-mode {
	display: inline-block; margin: 2px 4px 2px 0; padding: 1px 8px; border-radius: 4px;
	font-size: 12px; font-weight: 600; white-space: nowrap; background: #f1f3f5; color: #495057;
}
.emp-role.is-admin { background: #efeafd; color: #4a3aa8; }
.emp-role.is-hr    { background: #e6f2fd; color: #035fa5; }
.emp-role.is-mgr   { background: #e6f4ea; color: #176c2c; }
.emp-role.is-it, .emp-role.is-audit { background: #fff4e5; color: #8a5300; }
.emp-role.is-emp { background: #f1f3f5; color: #5c636a; font-weight: 500; }
.emp-role.is-missing { background: #fdecec; color: #b3261e; font-style: italic; }
.emp-mode { background: #fff; border: 1px solid var(--lv-rule); color: var(--lv-muted); font-weight: 500; }

.emp-chev-col { width: 28px; }
.emp-chev {
	display: inline-block; width: 8px; height: 8px;
	border-right: 1.6px solid #adb5bd; border-top: 1.6px solid #adb5bd; transform: rotate(45deg);
}
.emp-row:hover .emp-chev { border-color: var(--lv-fill); }

/* -------------------------------------------------------------- avatar */

.emp-av {
	flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: #e7eef6; color: #035fa5; font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
}
.emp-av-sm { flex-basis: 24px; width: 24px; height: 24px; font-size: 10px; }
.emp-av-lg { flex-basis: 56px; width: 56px; height: 56px; font-size: 19px; }
.emp-av-0 { background: #e6f2fd; color: #035fa5; }
.emp-av-1 { background: #e6f4ea; color: #176c2c; }
.emp-av-2 { background: #efeafd; color: #4a3aa8; }
.emp-av-3 { background: #fff4e5; color: #8a5300; }
.emp-av-4 { background: #e3f5f3; color: #00665f; }
.emp-av-5 { background: #fbe9f3; color: #9c2a68; }

/* ------------------------------------------------------------ profile page
   The person's record replaces the list on the page: a top card with who
   they are and their employment status, Details and Reporting side by side,
   Access along the bottom, and a save bar that stays in view. */

@keyframes emp-fade { from { opacity: 0; } to { opacity: 1; } }

.emp-profile { padding-bottom: 84px; animation: emp-fade .15s ease-out; }
.emp-profile .lv-card { margin-bottom: 16px; }

.emp-crumb { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.emp-back { font-size: 14px; }
.emp-back span { margin-right: 4px; }
.emp-crumb-pos { font-size: 13px; color: var(--lv-muted); }
.emp-crumb-nav { margin-left: auto; display: flex; gap: 8px; }

.emp-x {
	appearance: none; flex: 0 0 auto; width: 34px; height: 34px;
	border: 0; border-radius: 50%; background: transparent; cursor: pointer;
	font-size: 24px; line-height: 34px; color: var(--lv-muted);
}
.emp-x:hover { background: #f1f3f5; color: var(--lv-ink); }
.emp-x:focus-visible { outline: none; box-shadow: var(--lv-focus); }

/* top card */
.emp-hero { padding: 22px 24px; }
.emp-hero-row { display: flex; align-items: flex-start; gap: 18px; }
.emp-hero-id { flex: 1 1 auto; min-width: 0; }
.emp-hero-id h3 { margin: 2px 0 0; font-size: 22px; font-weight: 600; color: var(--lv-ink); line-height: 1.25; }
.emp-hero-id p { margin: 2px 0 10px; font-size: 14.5px; color: var(--lv-body); }
.emp-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 13px; color: var(--lv-muted); }
.emp-hero-meta a { color: var(--lv-fill); word-break: break-all; }
.emp-hero-status {
	flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
	padding-left: 24px; border-left: 1px solid var(--lv-rule-lt); min-width: 300px;
}
.emp-hero-k { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--lv-muted); }
.emp-status-now { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 12px; font-size: 13.5px; color: var(--lv-body); }
.emp-status-acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
/* Stated in full here rather than leaning on leave.css alone: the browser's
   own button look showed through on Edge. */
.emp .emp-status-acts .emp-act {
	-webkit-appearance: none; appearance: none;
	background: #fff; border: 1px solid var(--lv-field-border, #ced4da); color: var(--lv-ink, #131313);
	font-weight: 600; font-size: 13px; border-radius: 4px; height: 34px; padding: 0 14px;
}
.emp .emp-status-acts .emp-act:hover { background: var(--lv-ground, #f7f9fb); border-color: #adb5bd; }
.emp .emp-status-acts .emp-act.is-danger { border-color: #e3a9a4; color: #b3261e; }
.emp .emp-status-acts .emp-act.is-danger:hover { background: #fdecec; border-color: #d9827a; }

.emp-status-form {
	margin-top: 18px; padding: 16px 18px; border: 1px solid var(--lv-rule); border-radius: 8px; background: var(--lv-ground);
}
.emp-status-form h5 { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--lv-ink); }
.emp-status-fields { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-bottom: 12px; }
.emp-status-fields .lv-field { margin: 0; flex: 0 0 200px; }
.emp-status-fields .emp-grow { flex: 1 1 260px; }
.emp-status-btns { display: flex; gap: 8px; margin-left: auto; }
.emp-callout {
	margin: 0; padding: 10px 12px; border-left: 3px solid #f0a020; border-radius: 4px;
	background: #fff8ec; font-size: 13px; color: #5e4300;
}
.emp-btn-danger { background: #b3261e; color: #fff !important; }
.emp-btn-danger:not([disabled]):hover { background: #93201a; }

.emp-history-wrap { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--lv-rule-lt); }
.emp-history-toggle { font-size: 13px; }
.emp-history { list-style: none; margin: 12px 0 0 6px; padding: 0; border-left: 2px solid var(--lv-rule); }
.emp-history li { position: relative; display: flex; gap: 12px; padding: 0 0 10px 16px; font-size: 13px; color: var(--lv-body); }
.emp-history li::before {
	content: ""; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px;
	border-radius: 50%; background: #fff; border: 2px solid #9cc8f0;
}
.emp-history-d { flex: 0 0 92px; color: var(--lv-muted); font-variant-numeric: tabular-nums; }

/* details | reporting */
.emp-cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 16px; align-items: start; }
.emp-cols > .lv-card { margin-bottom: 0; }
.emp-cols + .lv-card { margin-top: 16px; }
.emp-fs { border: 0; margin: 0; min-width: 0; }
.emp-fs.lv-card { padding: 20px 22px; }
.emp-fs[disabled] .lv-input { background: var(--lv-ground); color: var(--lv-ink); }
.emp-card-title {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
	margin: 0 0 16px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--lv-muted);
}
.emp-card-title small { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #8a5300; }
.emp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.emp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.emp-grid .lv-field { margin-bottom: 16px; }
.emp-span2 { grid-column: span 2; }
.emp-profile .lv-input { height: 38px; font-size: 14px; }
.emp-mode-field { margin: 0; padding-top: 4px; }

/* direct reports */
.emp-reports { display: flex; flex-wrap: wrap; gap: 6px; }
.emp-report {
	appearance: none; display: inline-flex; align-items: center; gap: 6px;
	height: 30px; padding: 0 10px 0 3px; border: 1px solid var(--lv-rule); border-radius: 15px;
	background: #fff; cursor: pointer; font: 500 13px/1 inherit; font-family: inherit; color: var(--lv-ink);
}
.emp-report:hover { border-color: var(--lv-primary); background: var(--lv-tint); }

/* access: role cards side by side */
.emp-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.emp-roleopt {
	display: flex; align-items: flex-start; gap: 12px; margin: 0;
	padding: 12px 14px; border: 1px solid var(--lv-rule); border-radius: 8px;
	cursor: pointer; font-weight: 400; transition: border-color .15s, background .15s;
}
.emp-roleopt:hover { border-color: #b9cbe0; }
.emp-roleopt.is-on { border-color: #9cc8f0; background: #f5faff; }
.emp-roleopt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.emp-switch {
	flex: 0 0 36px; width: 36px; height: 20px; margin-top: 1px; border-radius: 10px; position: relative;
	background: #ced4da; transition: background .15s;
}
.emp-switch::after {
	content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%;
	background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s;
}
.emp-roleopt input:checked + .emp-switch { background: var(--lv-fill); }
.emp-roleopt input:checked + .emp-switch::after { transform: translateX(16px); }
.emp-roleopt input:focus-visible + .emp-switch { box-shadow: var(--lv-focus); }
.emp-fs[disabled] .emp-roleopt { cursor: default; }
.emp-fs[disabled] .emp-roleopt:hover { border-color: var(--lv-rule); }
.emp-fs[disabled] .emp-roleopt.is-on:hover { border-color: #9cc8f0; }
.emp-roleopt.is-locked { cursor: default; }
.emp-roleopt.is-locked .emp-switch { opacity: .6; }
.emp-roleopt-t { display: flex; flex-direction: column; min-width: 0; }
.emp-roleopt-t b { font-size: 14px; font-weight: 600; color: var(--lv-ink); }
.emp-roleopt-t small { font-size: 12.5px; color: var(--lv-muted); line-height: 1.4; }
.emp-warn-t { color: #b3261e; }
.emp-mini { padding: 12px; }

/* save bar: pinned to the bottom of the screen while a profile is open */
.emp-savebar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
	display: flex; align-items: center; justify-content: flex-end; gap: 10px;
	padding: 12px max(24px, calc((100vw - 1400px) / 2)); background: #fff;
	border-top: 1px solid var(--lv-rule); box-shadow: 0 -4px 16px rgba(19, 19, 19, .06);
}
.emp-savebar > span { margin-right: auto; }
.emp-dirty { font-size: 13.5px; color: #8a5300; display: inline-flex; align-items: center; gap: 6px; }
.emp-dirty::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #f0a020; }
.emp-saved { font-size: 13.5px; color: #176c2c; }
.emp-savebar-hint { font-size: 13px; }

/* toast */
.emp-toast {
	position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 1060;
	max-width: min(560px, calc(100vw - 32px)); padding: 12px 18px; border-radius: 8px;
	background: #1f2a37; color: #fff; font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
	animation: emp-fade .15s ease-out;
}

@media (max-width: 1199px) {
	.emp-cols { grid-template-columns: 1fr; }
	.emp-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
	.emp-hero-row { flex-wrap: wrap; }
	.emp-hero-status { align-items: flex-start; padding-left: 0; border-left: 0; min-width: 0; width: 100%;
		padding-top: 14px; border-top: 1px solid var(--lv-rule-lt); }
	.emp-status-now, .emp-status-acts { justify-content: flex-start; }
	.emp-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------- add dialog */

.emp-modal .modal-header { align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--lv-rule-lt); }
.emp-modal-title { margin: 0; font-size: 19px; font-weight: 600; color: var(--lv-ink); flex: 1 1 auto; }
.emp-modal .modal-body { padding: 18px 24px; }
.emp-modal .modal-footer { padding: 14px 24px; gap: 8px; border-top: 1px solid var(--lv-rule-lt); }
.emp-add-help { margin: 0 0 12px; }
.emp-dir { list-style: none; margin: 10px 0 0; padding: 0; max-height: 360px; overflow-y: auto; }
.emp-dir li {
	display: flex; align-items: center; gap: 12px; padding: 10px 6px;
	border-bottom: 1px solid var(--lv-rule-lt);
}
.emp-dir li .emp-who-t { flex: 1 1 auto; }
.emp-dir li .emp-who-t small { max-width: none; white-space: normal; }
.emp-dir li.is-taken { opacity: .7; }
.emp-taken { font-size: 12.5px; white-space: nowrap; }

/* ------------------------------------------------------ <person-picker> */

.pp { position: relative; }
.pp-card, .pp-empty {
	display: flex; align-items: center; gap: 12px; min-height: 54px;
	padding: 8px 12px; border: 1px solid var(--lv-field-border, #ced4da); border-radius: 6px; background: #fff;
}
.pp-empty { border-style: dashed; }
.pp-none { flex: 1 1 auto; color: var(--lv-muted, #6c757d); font-size: 14px; }
.pp-who { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.pp-who b { font-size: 14px; font-weight: 600; color: var(--lv-ink, #131313); }
.pp-who small { font-size: 12.5px; color: var(--lv-muted, #6c757d); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-acts { display: flex; gap: 14px; flex: 0 0 auto; }
.pp-search .lv-input { height: 40px; }
.pp-list {
	position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px);
	max-height: 300px; overflow-y: auto; margin: 0; padding: 4px 0; list-style: none;
	background: #fff; border: 1px solid var(--lv-rule, #e3e7eb); border-radius: 8px;
	box-shadow: 0 10px 28px rgba(19, 19, 19, .16);
}
.pp-list li { display: flex; align-items: center; gap: 10px; padding: 7px 12px; cursor: pointer; }
.pp-list li.is-hot, .pp-list li:hover { background: var(--lv-tint, #f0f8ff); }
.pp-list li.is-sel .pp-who b { color: var(--lv-fill, #035fa5); }
.pp-n { flex: 0 0 auto; font-size: 12px; color: var(--lv-muted, #6c757d); }
.pp-nomatch { color: var(--lv-muted, #6c757d); cursor: default !important; background: none !important; font-size: 13.5px; }

/* -------------------------------------------------------------- phones
   The table becomes a list of people: name, designation, status. Everything
   else is one tap away in the profile, which fills the screen. */

@media (max-width: 767px) {
	.emp .emp-head { flex-wrap: wrap; gap: 10px; }
	.emp-stats { gap: 8px; }
	.emp-stat { padding: 8px 12px; }
	.emp-stat b { font-size: 17px; }
	.emp-stat-sep { display: none; }
	.emp-toolbar { padding: 12px 14px; }
	.emp-search, .emp-filter, .emp-filter-sm { flex: 1 1 100%; max-width: none; }
	.emp .emp-toolbar .lv-seg { display: flex; width: 100%; }
	.emp .emp-toolbar .lv-seg button { flex: 1 1 0; padding: 0 6px; }
	.emp-count { margin-left: 0; }

	.emp-table thead { display: none; }
	.emp-table, .emp-table tbody { display: block; }
	.emp-table tr.emp-row {
		display: grid; grid-template-columns: 1fr auto; gap: 4px 10px;
		padding: 12px 14px; border-bottom: 1px solid var(--lv-rule-lt);
	}
	.emp-table tr.emp-row td { display: block; padding: 0 !important; border: 0; background: none !important; }
	.emp-table tr.emp-row td:nth-child(1) { grid-column: 1; grid-row: 1; }
	.emp-table tr.emp-row td:nth-child(6) { grid-column: 2; grid-row: 1; text-align: right; }
	.emp-table tr.emp-row td:nth-child(3) { grid-column: 1 / span 2; grid-row: 2; padding-left: 46px !important; font-size: 13px; }
	.emp-table tr.emp-row td:nth-child(2),
	.emp-table tr.emp-row td:nth-child(4),
	.emp-table tr.emp-row td:nth-child(5),
	.emp-table tr.emp-row td:nth-child(7) { display: none; }
	.emp-table .lv-sub { display: inline; margin-left: 4px; }
	.emp-table .lv-sub::before { content: "\00B7 "; }
	.emp-who { min-width: 0; }
	.emp-who-t small { max-width: 60vw; }

	.emp-crumb { flex-wrap: wrap; gap: 8px; }
	.emp-crumb-pos { display: none; }
	.emp-hero { padding: 16px; }
	.emp-hero-row { gap: 12px; }
	.emp-hero-id h3 { font-size: 18px; }
	.emp-av-lg { flex-basis: 44px; width: 44px; height: 44px; font-size: 16px; }
	.emp-fs.lv-card { padding: 16px; }
	.emp-grid, .emp-grid-3, .emp-roles { grid-template-columns: 1fr; }
	.emp-span2 { grid-column: auto; }
	.emp-status-fields .lv-field, .emp-status-fields .emp-grow { flex: 1 1 100%; }
	.emp-status-btns { width: 100%; }
	.emp-status-btns .lv-btn { flex: 1 1 0; }
	.emp-savebar { padding: 10px 16px; }
	.emp-savebar > span { display: none; }
	.emp-savebar .lv-btn { flex: 1 1 0; }
	.emp-history-d { flex-basis: 78px; }
}

.emp-rolelink { margin-left: 6px; font-weight: 600; color: var(--lv-fill); white-space: nowrap; }

/* ---------------------------------------------------- Org Chart tab
   The Org Chart page shown inside Employees. Its own page padding and title
   are already provided by this page, so they are dropped here; the chart's
   controls (branch, Export PDF, History, Edit) stay. */
.emp .emp-org .orgchart_page .page-wrapper,
.emp .emp-org .orgchart_page .page-container { padding: 0 !important; margin: 0 !important; }
.emp .emp-org .orgchart_page .page_title { border-bottom: 0; margin-bottom: 4px; }
.emp .emp-org .orgchart_page .page_title > h2 { display: none; }
.emp .emp-org .orgchart_page .page_title::after { display: none; }

/* ---------------------------------------------------- Sync from Microsoft 365 */
.emp .emp-head-acts { display: flex; gap: 10px; }
.emp-sync-help { margin: 0 0 14px; }
.emp-sync-sec { margin-bottom: 16px; }
.emp-sync-sec .emp-card-title { margin-bottom: 8px; }
.emp-sync-sec .emp-card-title small { color: var(--lv-muted); font-weight: 600; }
.emp-sync-row {
	display: flex; align-items: center; gap: 10px; margin: 0;
	padding: 8px 10px; border-radius: 6px; font-weight: 400; cursor: pointer;
}
.emp-sync-row:hover { background: var(--lv-ground); }
.emp-sync-row + .emp-sync-row { border-top: 1px solid var(--lv-rule-lt); }
.emp-sync-row input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; }
.emp-sync-who { flex: 0 0 38%; font-weight: 600; color: var(--lv-ink); font-size: 13.5px; }
.emp-sync-chg { flex: 1 1 auto; min-width: 0; font-size: 13px; color: var(--lv-body); }
.emp-sync-chg s { color: var(--lv-muted); }
.emp-sync-chg b { color: #176c2c; font-weight: 600; }
@media (max-width: 767px) {
	.emp .emp-head-acts { width: 100%; }
	.emp .emp-head-acts .lv-btn { flex: 1 1 0; }
	.emp-sync-row { flex-wrap: wrap; }
	.emp-sync-who { flex-basis: calc(100% - 30px); }
	.emp-sync-chg { padding-left: 26px; }
}
