/* Employee directory and full employee profile */
.employee-directory-page {
  display: grid;
  gap: 14px;
  padding: 14px;
  background: #f8fafc;
}

.employee-hr-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 12px;
}

.employee-hr-source {
  grid-column: 1 / -1;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.employee-hr-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 250px;
  overflow: hidden;
  border: 1px solid #d7e0eb;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035);
}

.employee-hr-card > header {
  display: grid;
  min-height: 36px;
  place-items: center;
  border-bottom: 1px solid #d7e0eb;
  background: #fffaf6;
  color: #26334d;
  font-size: 12px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.employee-hr-status-table {
  display: grid;
  align-content: start;
  overflow: auto;
  font-size: 11px;
}

.employee-hr-status-head,
.employee-hr-status-table > div:not(.employee-hr-status-head) {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 92px 92px;
  align-items: center;
}

.employee-hr-status-head {
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 34px;
  background: #bfe6d9;
  color: #1f2937;
  font-weight: 900;
}

.employee-hr-status-head span,
.employee-hr-status-table > div:not(.employee-hr-status-head) span,
.employee-hr-status-table strong {
  min-width: 0;
  border-right: 1px solid #d7e0eb;
  border-bottom: 1px solid #e8edf4;
  padding: 6px 8px;
}

.employee-hr-status-head span {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
}

.employee-hr-status-table > div:not(.employee-hr-status-head):nth-child(odd) {
  background: #f3f6f8;
}

.employee-hr-status-table strong {
  color: #0f172a;
  font-size: 12px;
  text-align: center;
}

.employee-hr-status-table i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  border: 1px solid #0f172a;
}

.employee-hr-status-table i.is-active {
  background: #4ade80;
}

.employee-hr-status-table i.is-left {
  border-radius: 999px;
  background: #f97316;
}

.employee-hr-donut-wrap {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(170px, 1fr);
  gap: 12px;
  align-items: center;
  padding: 18px;
}

.employee-hr-donut {
  position: relative;
  display: grid;
  width: min(190px, 100%);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
}

.employee-hr-donut::after {
  content: "";
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.employee-hr-donut span {
  position: relative;
  z-index: 1;
  color: #0f172a;
  font-size: 18px;
  font-weight: 950;
}

.employee-hr-legend {
  display: grid;
  gap: 7px;
  align-content: center;
}

.employee-hr-legend div {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto auto;
  gap: 7px;
  align-items: center;
  color: #334155;
  font-size: 10px;
}

.employee-hr-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.employee-hr-legend span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.employee-hr-legend strong,
.employee-hr-legend em {
  color: #0f172a;
  font-style: normal;
  font-weight: 850;
}

.employee-hr-horizontal-bars {
  display: grid;
  gap: 18px;
  align-content: center;
  padding: 24px 18px;
}

.employee-hr-horizontal-bars div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.employee-hr-horizontal-bars span {
  color: #334155;
  font-size: 11px;
  font-weight: 850;
}

.employee-hr-horizontal-bars b {
  position: relative;
  display: block;
  height: 38px;
  border-left: 1px solid #94a3b8;
  background: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), #e2e8f0 calc(25% - 1px), #e2e8f0 25%);
}

.employee-hr-horizontal-bars i {
  display: block;
  height: 100%;
}

.employee-hr-horizontal-bars em {
  position: absolute;
  top: 50%;
  right: 8px;
  color: #0f172a;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  transform: translateY(-50%);
}

.employee-hr-vertical-bars {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(46px, 1fr);
  align-items: end;
  gap: 12px;
  min-height: 214px;
  overflow-x: auto;
  padding: 22px 18px 12px;
}

.employee-hr-vertical-bars div {
  display: grid;
  grid-template-rows: minmax(132px, 1fr) 34px;
  gap: 8px;
  align-items: end;
  min-width: 46px;
}

.employee-hr-vertical-bars b {
  position: relative;
  display: block;
  width: 100%;
  min-height: 4px;
  border-radius: 3px 3px 0 0;
}

.employee-hr-vertical-bars em {
  position: absolute;
  right: 0;
  left: 0;
  top: 6px;
  color: #0f172a;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.employee-hr-vertical-bars span {
  overflow: hidden;
  color: #334155;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-overflow: ellipsis;
}

.employee-hr-card p {
  margin: 16px;
  color: #94a3b8;
  font-size: 12px;
  text-align: center;
}

.employee-directory-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(132px, 1fr));
  gap: 10px;
}

.employee-directory-metric {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 76px;
  border: 1px solid #e3e9f2;
  border-radius: 12px;
  background: #fff;
  padding: 11px 13px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.035);
}

.employee-directory-metric > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: #edf4ff;
  color: #1455d9;
}

.employee-directory-metric.is-green > span { background: #e9fbf2; color: #059669; }
.employee-directory-metric.is-amber > span { background: #fff5e6; color: #f59e0b; }
.employee-directory-metric.is-purple > span { background: #f3efff; color: #7c3aed; }
.employee-directory-metric.is-red > span { background: #fff0f2; color: #e11d48; }
.employee-directory-metric svg,
.employee-directory-row-actions svg,
.employee-directory-search svg,
.employee-directory-table-head svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.employee-directory-metric svg { width: 19px; height: 19px; }
.employee-directory-metric small,
.employee-directory-metric em { display: block; color: #64748b; font-size: 11px; font-style: normal; }
.employee-directory-metric strong { display: block; margin: 1px 0; color: #0f1f41; font-size: 22px; line-height: 1.1; }

.employee-directory-layout {
  display: grid;
  grid-template-columns: minmax(720px, 1fr) 256px;
  gap: 14px;
  align-items: start;
}

.employee-directory-main,
.employee-directory-side { display: grid; gap: 12px; min-width: 0; }

.employee-directory-filters,
.employee-directory-table-card,
.employee-directory-side-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
}

.employee-directory-filters { display: grid; gap: 11px; padding: 12px; }
.employee-directory-search { position: relative; display: flex; align-items: center; }
.employee-directory-search svg { position: absolute; left: 13px; width: 16px; color: #64748b; }
.employee-directory-search input,
.employee-directory-filter-grid select {
  width: 100%; min-height: 38px; border: 1px solid #dfe6f0; border-radius: 8px; background: #fff; color: #16213e; font: inherit; outline: none;
}
.employee-directory-search input { padding: 0 14px 0 38px; }
.employee-directory-search input:focus,
.employee-directory-filter-grid select:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .08); }
.employee-directory-filter-grid { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 10px; }
.employee-directory-filter-grid label { display: grid; gap: 5px; color: #64748b; font-size: 11px; font-weight: 750; }
.employee-directory-filter-grid select { padding: 0 10px; }

.employee-directory-table-card { overflow: hidden; }
.employee-directory-table-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; color: #526174; font-size: 12px; }
.employee-directory-table-head button { border: 0; background: transparent; color: #2563eb; font-size: 12px; font-weight: 800; cursor: pointer; }
.employee-directory-table-head button:hover { color: #1d4ed8; text-decoration: underline; }
.employee-directory-table-head svg { width: 15px; }
.employee-directory-table-scroll { overflow-x: auto; }
.employee-directory-table { width: 100%; min-width: 880px; border-collapse: collapse; }
.employee-directory-table th { background: #f7f9fc; color: #43516b; font-size: 11px; text-align: left; white-space: nowrap; }
.employee-directory-table th,
.employee-directory-table td { border-top: 1px solid #e9eef5; padding: 8px 12px; }
.employee-directory-table tbody tr { cursor: pointer; transition: background .15s ease; }
.employee-directory-table tbody tr:hover { background: #f8fbff; }
.employee-directory-table td { color: #334155; font-size: 12px; }
.employee-directory-person { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.employee-directory-person-avatar,
.employee-directory-mini-avatar { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #dbeafe, #ecfdf5); color: #174ea6; font-size: 10px; font-weight: 900; overflow: hidden; object-fit: cover; }
.employee-directory-person-avatar img,
.employee-directory-mini-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.employee-directory-status { display: inline-flex; min-height: 22px; align-items: center; border-radius: 5px; padding: 2px 8px; font-size: 10px; font-weight: 750; white-space: nowrap; }
.employee-directory-status.is-green { background: #e8f8ef; color: #138a4b; }
.employee-directory-status.is-amber { background: #fff3df; color: #b86700; }
.employee-directory-status.is-purple { background: #f1ebff; color: #6d36c9; }
.employee-directory-status.is-red { background: #ffebee; color: #c8293b; }
.employee-directory-row-actions { display: flex; gap: 6px; align-items: center; justify-content: flex-start; }
.employee-directory-row-actions button { display: inline-grid; width: 29px; height: 29px; place-items: center; flex: 0 0 29px; border: 1px solid #dce5f1; border-radius: 7px; background: #fff; color: #31568f; cursor: pointer; padding: 0; line-height: 1; }
.employee-directory-row-actions button:hover { border-color: #2563eb; background: #eff6ff; }
.employee-directory-row-actions svg { display: block; width: 15px; height: 15px; margin: auto; }
.employee-directory-empty { padding: 40px !important; text-align: center; color: #64748b !important; }

.table-row-avatar { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #dbeafe, #ecfdf5); color: #174ea6; font-size: 10px; font-weight: 900; overflow: hidden; }
.table-row-avatar.is-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
td.col-avatar { width: 56px; min-width: 56px; text-align: center; }
td.col-avatar .table-row-avatar { margin: 0 auto; }

.employee-directory-pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-top: 1px solid #e9eef5; color: #64748b; font-size: 11px; }
.employee-directory-pagination div { display: flex; gap: 5px; }
.employee-directory-pagination button { width: 29px; height: 29px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #334155; cursor: pointer; }
.employee-directory-pagination button.is-active { border-color: #2563eb; background: #eff6ff; color: #1455d9; font-weight: 850; }
.employee-directory-pagination button:disabled { opacity: .35; cursor: default; }

.employee-directory-side-card { overflow: hidden; }
.employee-directory-side-card header { display: flex; align-items: center; justify-content: space-between; padding: 11px 12px; border-bottom: 1px solid #edf1f6; }
.employee-directory-side-card h3 { margin: 0; color: #16213e; font-size: 13px; }
.employee-directory-side-card header span { color: #2563eb; font-size: 11px; font-weight: 850; }
.employee-directory-side-card > div { display: grid; padding: 4px 10px 10px; }
.employee-directory-side-card > div > button { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px; align-items: center; border: 0; border-bottom: 1px solid #edf1f6; background: transparent; padding: 8px 2px; text-align: left; cursor: pointer; }
.employee-directory-side-card > div > button:last-child { border-bottom: 0; }
.employee-directory-side-card button strong,
.employee-directory-side-card button small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.employee-directory-side-card button strong { color: #26334d; font-size: 10.5px; }
.employee-directory-side-card button small { margin-top: 2px; color: #64748b; font-size: 9.5px; }
.employee-directory-side-card button em { color: #64748b; font-size: 9px; font-style: normal; white-space: nowrap; }
.employee-directory-side-card.is-warning button em { color: #c2410c; }
.employee-directory-side-card p { margin: 12px 2px 2px; color: #94a3b8; font-size: 11px; }

.employee-profile-panel { padding: 0; background: #f8fafc; }
.employee-profile-page { min-height: 100%; color: #17213d; }
.profile-page-toolbar { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid #e2e8f0; background: rgba(255,255,255,.96); padding: 14px 22px; backdrop-filter: blur(10px); }
.profile-page-toolbar > div:first-child { display: grid; grid-template-columns: auto auto; gap: 4px 10px; align-items: center; }
.profile-page-toolbar span { color: #64748b; font-size: 11px; }
.profile-page-toolbar strong { color: #101b38; font-size: 20px; }
.profile-page-toolbar small { grid-column: 1 / -1; color: #64748b; font-size: 11px; }
.profile-page-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 14px; width: min(1500px, 100%); margin: 0 auto; padding: 14px; }
.profile-page-sidebar { display: grid; align-content: start; gap: 12px; }
.profile-sidebar-identity,
.profile-sidebar-card,
.profile-detail-card { border: 1px solid #dfe6ef; border-radius: 10px; background: #fff; box-shadow: 0 8px 22px rgba(15,23,42,.035); }
.profile-sidebar-identity { display: grid; justify-items: center; padding: 16px 12px; text-align: center; }
.profile-sidebar-identity .profile-avatar { width: 100px; height: 108px; border-radius: 50%; }
.profile-sidebar-identity .profile-photo-action { margin-top: 2px; }
.profile-sidebar-identity > .badge { margin-top: 8px; }
.profile-sidebar-identity h2 { margin: 13px 0 4px; font-size: 20px; }
.profile-sidebar-identity > p { margin: 0; color: #334155; font-size: 12px; }
.profile-sidebar-identity > span { margin-top: 6px; color: #64748b; font-size: 11px; }
.profile-sidebar-identity dl,
.profile-sidebar-card dl { display: grid; width: 100%; gap: 8px; margin: 15px 0 0; }
.profile-sidebar-identity dl div,
.profile-sidebar-card dl div { display: grid; grid-template-columns: 1fr 1.15fr; gap: 8px; text-align: left; }
.profile-sidebar-identity dt,
.profile-sidebar-card dt { color: #64748b; font-size: 10px; }
.profile-sidebar-identity dd,
.profile-sidebar-card dd { margin: 0; color: #25314a; font-size: 10px; font-weight: 750; overflow-wrap: anywhere; }
.profile-sidebar-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; width: 100%; margin-top: 16px; }
.profile-sidebar-contact a,
.profile-sidebar-contact button { display: grid; min-height: 58px; place-items: center; gap: 4px; border: 1px solid #dbe4f0; border-radius: 8px; background: #fff; color: #1455d9; font-size: 9px; text-decoration: none; cursor: pointer; }
.profile-sidebar-contact button:disabled { color: #94a3b8; cursor: not-allowed; }
.profile-sidebar-contact svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.profile-sidebar-card { padding: 13px; }
.profile-sidebar-card h3 { margin: 0 0 8px; color: #17213d; font-size: 12px; }
.profile-sidebar-card dl { margin: 0; }
.profile-manager-summary { display: grid; gap: 8px; margin-bottom: 12px; }
.profile-manager-summary > span { color: #64748b; font-size: 10px; }
.profile-manager-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: center; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fbff; padding: 10px; }
.profile-manager-card img,
.profile-manager-card span { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: linear-gradient(135deg, #dbeafe, #ecfdf5); color: #174ea6; font-size: 13px; font-weight: 900; overflow: hidden; }
.profile-manager-card img { object-fit: cover; }
.profile-manager-card strong,
.profile-manager-card small,
.profile-manager-card em { display: block; }
.profile-manager-card strong { color: #17213d; font-size: 11px; font-weight: 850; }
.profile-manager-card small { margin-top: 2px; color: #334155; font-size: 10px; font-weight: 700; }
.profile-manager-card em { margin-top: 3px; color: #64748b; font-size: 10px; font-style: normal; }
.profile-direct-reports { display: grid; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #edf1f6; }
.profile-direct-reports > span { color: #64748b; font-size: 10px; }
.profile-direct-reports > strong { color: #25314a; font-size: 11px; font-weight: 800; }
.profile-direct-reports-avatars { display: flex; align-items: center; }
.profile-direct-reports-avatars img,
.profile-direct-reports-avatars span,
.profile-direct-reports-avatars em { width: 32px; height: 32px; margin-left: -6px; border-radius: 999px; border: 2px solid #fff; display: grid; place-items: center; background: linear-gradient(135deg, #dbeafe, #ecfdf5); color: #174ea6; font-size: 10px; font-weight: 900; overflow: hidden; font-style: normal; }
.profile-direct-reports-avatars img:first-child,
.profile-direct-reports-avatars span:first-child,
.profile-direct-reports-avatars em:first-child { margin-left: 0; }
.profile-direct-reports-avatars img { object-fit: cover; }
.profile-direct-reports-avatars em { background: #eef2ff; color: #475569; }
.profile-page-main { min-width: 0; }
.profile-page-main > .profile-tabs { width: 100%; margin: 0 0 12px; border: 1px solid #dfe6ef; border-radius: 9px; background: #fff; padding: 0 8px; }
.profile-page-main > .profile-tabs .secondary-action { min-height: 45px; border: 0; border-radius: 0; background: transparent; color: #475569; }
.profile-page-main > .profile-tabs .secondary-action.is-active { color: #1455d9; box-shadow: inset 0 -2px 0 #2563eb; }
.profile-detail-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .85fr); gap: 12px; }
.profile-detail-card { padding: 15px; }
.profile-detail-card.is-wide { grid-column: 1; }
.profile-detail-card.is-full { grid-column: 1 / -1; }
.profile-detail-card h3 { margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid #e8edf4; color: #17213d; font-size: 14px; }
.profile-detail-columns { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.profile-detail-list { display: grid; gap: 9px; margin: 0; }
.profile-detail-list > div { display: grid; grid-template-columns: minmax(120px, .8fr) minmax(0, 1.2fr); gap: 12px; }
.profile-detail-list dt { color: #64748b; font-size: 11px; }
.profile-detail-list dd { margin: 0; color: #26334d; font-size: 11px; font-weight: 650; overflow-wrap: anywhere; }
.profile-addresses { border-left: 1px solid #e5eaf1; padding-left: 20px; }
.profile-addresses strong { display: block; margin-bottom: 7px; font-size: 11px; }
.profile-addresses p { margin: 0 0 24px; color: #334155; font-size: 11px; line-height: 1.7; }
.profile-document-summary > div { display: grid; gap: 8px; }
.profile-document-summary a { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 2px 10px; border-bottom: 1px solid #edf1f6; padding: 8px 0; text-decoration: none; }
.profile-document-summary a span { grid-row: 1 / 3; color: #1455d9; font-size: 10px; font-weight: 850; }
.profile-document-summary a strong { color: #1455d9; font-size: 11px; }
.profile-document-summary a small { color: #94a3b8; font-size: 9px; }
.profile-document-summary > button { width: 100%; margin-top: 12px; }
.profile-detail-empty { color: #94a3b8; font-size: 11px; }
.profile-family-table-wrap { overflow-x: auto; }
.profile-family-table { width: 100%; min-width: 650px; border-collapse: collapse; }
.profile-family-table th,
.profile-family-table td { border: 1px solid #e4e9f0; padding: 9px; color: #334155; font-size: 10px; text-align: left; }
.profile-family-table th { background: #f7f9fc; color: #526174; }
.profile-page-main .profile-grid,
.profile-page-main .employee-edit-panel,
.profile-page-main .attachment-panel,
.profile-page-main .profile-note,
.profile-page-main .profile-summary-grid,
.profile-page-main .profile-overview-hero { width: 100%; }

@media (max-width: 1180px) {
  .employee-hr-dashboard { grid-template-columns: repeat(2, minmax(260px, 1fr)); }
  .employee-directory-metrics { grid-template-columns: repeat(3, 1fr); }
  .employee-directory-layout { grid-template-columns: 1fr; }
  .employee-directory-side { grid-template-columns: repeat(3, 1fr); }
  .profile-detail-grid { grid-template-columns: 1fr; }
  .profile-detail-card.is-wide,
  .profile-detail-card.is-full { grid-column: 1; }
}

@media (max-width: 760px) {
  .employee-directory-page { padding: 10px; }
  .employee-hr-dashboard { grid-template-columns: 1fr; }
  .employee-hr-card { min-height: 230px; }
  .employee-hr-status-head,
  .employee-hr-status-table > div:not(.employee-hr-status-head) { grid-template-columns: minmax(110px, 1fr) 78px 78px; }
  .employee-hr-donut-wrap { grid-template-columns: 1fr; }
  .employee-hr-donut { width: 170px; }
  .employee-hr-horizontal-bars div { grid-template-columns: 62px minmax(0, 1fr); }
  .employee-directory-metrics,
  .employee-directory-filter-grid,
  .employee-directory-side { grid-template-columns: 1fr; }
  .employee-directory-pagination { align-items: flex-start; flex-direction: column; }
  .profile-page-toolbar { align-items: flex-start; flex-direction: column; padding: 12px; }
  .profile-page-layout { grid-template-columns: 1fr; padding: 10px; }
  .profile-page-sidebar { grid-template-columns: 1fr; }
  .profile-detail-columns { grid-template-columns: 1fr; }
  .profile-addresses { border-left: 0; border-top: 1px solid #e5eaf1; padding: 16px 0 0; }
  .profile-detail-list > div { grid-template-columns: 1fr; gap: 3px; }
}

/* Keep the redesigned employee profile edge-to-edge after legacy panel rules. */
.employee-profile-panel {
  padding: 0;
  background: #f8fafc;
}
