:root {
  --ph-ink: #0a2025;
  --ph-muted: #587078;
  --ph-line: rgba(24, 67, 75, 0.14);
  --ph-teal: #009f8a;
  --ph-teal-dark: #006f62;
  --ph-blue: #2878c7;
  --ph-surface: rgba(255, 255, 255, 0.9);
  --ph-soft: rgba(235, 248, 246, 0.86);
  --ph-shadow: 0 14px 38px rgba(21, 54, 62, 0.09);
  --ph-radius: 14px;
}

.people-hub-page {
  color: var(--ph-ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(0, 159, 138, 0.09), transparent 27%),
    radial-gradient(circle at 94% 7%, rgba(40, 120, 199, 0.08), transparent 24%),
    #f5faf9;
}

.people-hub-page .wrap,
.people-hub-page .infractions-shell {
  width: min(100% - 28px, 1680px) !important;
  max-width: 1680px !important;
  margin: 0 auto !important;
  padding: 14px 0 34px !important;
}

.people-hub-page .header-main,
.people-hub-page .hero-card {
  min-height: 104px !important;
  margin: 0 !important;
  padding: 18px 22px !important;
  border: 1px solid var(--ph-line) !important;
  border-top: 3px solid var(--ph-teal) !important;
  border-radius: var(--ph-radius) !important;
  background:
    linear-gradient(120deg, rgba(227, 249, 245, 0.94), rgba(242, 249, 254, 0.95)) !important;
  box-shadow: var(--ph-shadow) !important;
}

.people-hub-page .header-home-link,
.people-hub-page .logo-link {
  display: none !important;
}

.people-hub-page .hero-kicker,
.people-hub-page .record-kicker,
.people-hub-page .eyebrow,
.people-hub-page .section-kicker {
  color: var(--ph-teal-dark) !important;
  font-size: 0.67rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.075em !important;
  text-transform: uppercase !important;
}

.people-hub-page .header-main h1,
.people-hub-page .hero-card h1 {
  margin: 3px 0 2px !important;
  color: var(--ph-ink) !important;
  font-size: clamp(2rem, 3.2vw, 3.25rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.045em !important;
}

.people-hub-page .sub-txt,
.people-hub-page .muted {
  color: var(--ph-muted) !important;
}

.people-hub-page .people-legacy-logout {
  display: none !important;
}

.people-local-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 8px 0 12px;
  padding: 6px;
  border: 1px solid var(--ph-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 22px rgba(21, 54, 62, 0.05);
  overflow-x: auto;
}

.people-local-nav a,
.people-local-nav > span:not(.is-active) {
  min-height: 34px;
  padding: 8px 12px;
  flex: 0 0 auto;
  border-radius: 9px;
  color: var(--ph-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-decoration: none;
}

.people-local-nav a:hover,
.people-local-nav a:focus,
.people-local-nav .is-active {
  color: #ffffff;
  background: var(--ph-teal-dark);
}

.people-local-nav > span:not(.is-active) {
  margin-left: auto;
  font-weight: 750;
}

.people-hub-page .stats-grid,
.people-hub-page .summary-grid {
  display: flex !important;
  gap: 7px !important;
  margin: 0 0 12px !important;
  overflow-x: auto;
}

.people-hub-page .stat-card,
.people-hub-page .summary-card {
  min-width: 142px !important;
  min-height: 70px !important;
  padding: 10px 12px !important;
  flex: 1 0 142px !important;
  border: 1px solid var(--ph-line) !important;
  border-top: 3px solid transparent !important;
  border-radius: 12px !important;
  background: var(--ph-surface) !important;
  box-shadow: none !important;
}

.people-hub-page .stat-card.is-active,
.people-hub-page .summary-card[aria-pressed="true"] {
  border-top-color: var(--ph-teal) !important;
  background: rgba(226, 249, 245, 0.96) !important;
}

.people-hub-page .stat-val,
.people-hub-page .summary-card strong {
  color: var(--ph-ink) !important;
  font-size: 1.65rem !important;
  line-height: 1 !important;
}

.people-hub-page .stat-label,
.people-hub-page .summary-card span {
  color: var(--ph-muted) !important;
  font-size: 0.62rem !important;
  font-weight: 900 !important;
}

.people-hub-page .profile-card,
.people-hub-page .panel,
.people-hub-page .table-wrap,
.people-hub-page .activity-card {
  border: 1px solid var(--ph-line) !important;
  border-radius: var(--ph-radius) !important;
  background: var(--ph-surface) !important;
  box-shadow: var(--ph-shadow) !important;
}

.people-directory-page .table-wrap {
  overflow: hidden;
}

.people-directory-page .table-head {
  min-height: 72px !important;
  padding: 14px 18px !important;
  background: linear-gradient(110deg, rgba(229, 249, 246, 0.78), rgba(246, 251, 253, 0.88)) !important;
}

.people-directory-page .table-head h2 {
  margin: 2px 0 0 !important;
  font-size: clamp(1.55rem, 2.2vw, 2.2rem) !important;
  letter-spacing: -0.035em !important;
}

.people-directory-page .directory-toolbar {
  padding: 10px 16px !important;
  border-top: 1px solid var(--ph-line) !important;
  border-bottom: 1px solid var(--ph-line) !important;
  background: #ffffff !important;
}

.people-directory-page .search-box {
  width: min(760px, 100%) !important;
}

.people-directory-page .search-label {
  font-size: 0.62rem !important;
}

.people-directory-page #searchInput {
  min-height: 42px !important;
  border-radius: 10px !important;
}

.people-directory-page .tbl thead th {
  height: 42px !important;
  background: #edf7f5 !important;
}

.people-directory-page .tbl tbody tr {
  height: 64px !important;
}

.people-directory-page .tbl tbody tr:nth-child(even) {
  background: rgba(237, 247, 245, 0.5) !important;
}

.employee-profile-page .employee-record-layout {
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr) !important;
  gap: 12px !important;
}

.employee-profile-page .employee-card,
.employee-profile-page .activity-card {
  min-height: 0 !important;
  padding: 18px !important;
}

.employee-profile-page .activity-card {
  align-self: start;
}

.employee-profile-page .record-controls-inline {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.employee-profile-page .record-tool-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 7px !important;
}

.employee-profile-page .record-tool-card {
  min-height: 76px !important;
  padding: 10px 12px !important;
  border-radius: 11px !important;
  text-align: left !important;
}

.performance-center-page .hero-actions {
  display: none !important;
}

.performance-center-page .workspace-grid {
  grid-template-columns: minmax(310px, 0.58fr) minmax(620px, 1.42fr) !important;
  gap: 12px !important;
}

.performance-center-page .panel {
  overflow: hidden !important;
}

.performance-center-page .panel-head {
  min-height: 66px !important;
  padding: 12px 14px !important;
  background: linear-gradient(110deg, rgba(229, 249, 246, 0.72), rgba(246, 251, 253, 0.9)) !important;
}

.performance-center-page .panel-head h2 {
  font-size: clamp(1.25rem, 1.8vw, 1.75rem) !important;
}

.performance-center-page .employee-list {
  max-height: 520px !important;
}

.performance-center-page .board-grid {
  margin-top: 12px !important;
}

.writeup-center-page .workspace-shell {
  width: min(100% - 28px, 1680px) !important;
  max-width: 1680px !important;
  margin: 0 auto !important;
  padding: 14px 0 34px !important;
}

.writeup-center-page .hero-card {
  min-height: 104px !important;
  padding: 18px 22px !important;
}

.writeup-center-page .logo-link {
  display: none !important;
}

.writeup-center-page .workspace-grid {
  grid-template-columns: minmax(310px, 0.58fr) minmax(620px, 1.42fr) !important;
  gap: 12px !important;
}

.writeup-center-page .panel-card,
.writeup-center-page .summary-card {
  border-color: var(--ph-line) !important;
  border-radius: var(--ph-radius) !important;
  box-shadow: var(--ph-shadow) !important;
}

.writeup-center-page .panel-head {
  background: linear-gradient(110deg, rgba(229, 249, 246, 0.72), rgba(246, 251, 253, 0.9)) !important;
}

.people-hiring-flow {
  min-height: 100vh;
  color: var(--ph-ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 159, 138, 0.12), transparent 30%),
    #f4faf9;
}

.people-hiring-flow .container {
  width: min(100% - 24px, 960px) !important;
  margin: 0 auto !important;
  padding: 24px 0 !important;
}

.people-hiring-flow .onboard-card,
.people-hiring-flow .complete-card {
  border: 1px solid var(--ph-line) !important;
  border-top: 4px solid var(--ph-teal) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 22px 60px rgba(21, 54, 62, 0.13) !important;
}

.people-hiring-flow .onboard-hero {
  padding: 20px !important;
  background: linear-gradient(120deg, rgba(227, 249, 245, 0.94), rgba(242, 249, 254, 0.95)) !important;
}

@media (max-width: 980px) {
  .employee-profile-page .employee-record-layout,
  .performance-center-page .workspace-grid,
  .writeup-center-page .workspace-grid {
    grid-template-columns: 1fr !important;
  }

  .employee-profile-page .record-controls-inline,
  .employee-profile-page .record-tool-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .people-hub-page .wrap,
  .people-hub-page .infractions-shell {
    width: calc(100% - 12px) !important;
    padding-top: 7px !important;
  }

  .people-hub-page .header-main,
  .people-hub-page .hero-card {
    min-height: 0 !important;
    padding: 14px !important;
  }

  .people-hub-page .header-main h1,
  .people-hub-page .hero-card h1 {
    font-size: clamp(1.65rem, 10vw, 2.4rem) !important;
  }

  .people-local-nav > span:not(.is-active) {
    display: none;
  }

  .people-hub-page .stats-grid,
  .people-hub-page .summary-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .people-hub-page .stat-card,
  .people-hub-page .summary-card {
    min-width: 0 !important;
    min-height: 62px !important;
  }

  .employee-profile-page .record-controls-inline,
  .employee-profile-page .record-tool-strip {
    grid-template-columns: 1fr !important;
  }
}

/* Workforce Directory 2026 refresh */
.people-directory-page {
  --directory-navy: #082b35;
  --directory-teal: #00a78f;
  --directory-mint: #dff7f2;
  --directory-blue: #eaf4ff;
  --directory-canvas: #f3f8f7;
  background:
    linear-gradient(rgba(8, 43, 53, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 43, 53, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 3% 4%, rgba(0, 167, 143, 0.12), transparent 25rem),
    var(--directory-canvas);
  background-size: 38px 38px, 38px 38px, auto, auto;
}

.people-directory-page .wrap {
  width: min(100% - 32px, 1540px) !important;
  max-width: 1540px !important;
  padding-top: 18px !important;
}

.people-directory-page .directory-hero {
  position: relative;
  min-height: 112px !important;
  padding: 14px 26px !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 84% 14%, rgba(0, 167, 143, 0.26), transparent 15rem),
    radial-gradient(circle at 94% 92%, rgba(54, 142, 226, 0.2), transparent 19rem),
    linear-gradient(118deg, #062c36 0%, #0b4249 62%, #0c5052 100%) !important;
  box-shadow: 0 22px 52px rgba(5, 38, 46, 0.2) !important;
}

.people-directory-page .directory-hero::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: 7%;
  top: -120px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(255, 255, 255, 0.035),
    0 0 0 72px rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.people-directory-page .directory-hero .header-brand,
.people-directory-page .directory-hero .hero-copy {
  position: relative;
  z-index: 1;
}

.people-directory-page .directory-hero .hero-kicker {
  color: #6de1cf !important;
}

.people-directory-page .directory-hero h1 {
  max-width: 760px;
  margin-top: 5px !important;
  color: #ffffff !important;
  font-size: clamp(1.95rem, 2.35vw, 2.65rem) !important;
  letter-spacing: -0.055em !important;
}

.people-directory-page .directory-hero-note {
  max-width: 1000px;
  margin: 5px 0 0;
  color: rgba(232, 250, 247, 0.76);
  font-size: 0.72rem;
  line-height: 1.25;
}

.people-directory-page .directory-user-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-top: 6px;
  padding: 3px 9px;
  border: 1px solid rgba(109, 225, 207, 0.26);
  border-radius: 999px;
  color: #d8f7f1 !important;
  background: rgba(0, 0, 0, 0.16);
  font-size: 0.7rem;
  font-weight: 800;
}

.people-directory-page .directory-hero #authActions {
  display: flex;
  gap: 9px;
  align-items: center;
}

.people-directory-page .directory-hero #authActions .btn-icon-label {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.09) !important;
  backdrop-filter: blur(10px);
}

.people-directory-page .directory-hero #authActions .btn-icon-label:last-child {
  color: var(--directory-navy) !important;
  background: #6de1cf !important;
}

.people-directory-page .people-local-nav {
  margin: -10px 22px 16px;
  position: relative;
  z-index: 3;
  min-height: 54px;
  padding: 7px 9px;
  border: 1px solid rgba(9, 56, 66, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(9, 48, 57, 0.12);
}

.people-directory-page .people-local-nav a {
  min-height: 38px;
  padding: 10px 15px;
}

.people-directory-page .directory-overview {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 3.2fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
}

.people-directory-page .directory-overview-copy {
  padding: 18px 20px;
  border: 1px solid rgba(9, 56, 66, 0.11);
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(9, 48, 57, 0.06);
}

.people-directory-page .directory-overview-copy h2 {
  margin: 5px 0 4px;
  color: var(--directory-navy);
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.people-directory-page .directory-overview-copy p {
  margin: 0;
  color: var(--ph-muted);
  font-size: 0.75rem;
}

.people-directory-page .directory-overview .stats-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 8px !important;
  margin: 0 !important;
  overflow: visible;
}

.people-directory-page .directory-overview .stat-card {
  min-width: 0 !important;
  min-height: 104px !important;
  padding: 16px !important;
  border: 1px solid rgba(9, 56, 66, 0.11) !important;
  border-top: 0 !important;
  border-radius: 17px !important;
  position: relative;
  overflow: hidden;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.people-directory-page .directory-overview .stat-card::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  right: 14px;
  top: 14px;
  border-radius: 50%;
  background: #9db5b9;
  box-shadow: 0 0 0 5px rgba(157, 181, 185, 0.15);
}

.people-directory-page .directory-overview .stat-card:hover,
.people-directory-page .directory-overview .stat-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0, 167, 143, 0.42) !important;
  box-shadow: 0 12px 26px rgba(8, 43, 53, 0.1) !important;
}

.people-directory-page .directory-overview .stat-card.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #007d70, #00a78f) !important;
  box-shadow: 0 15px 28px rgba(0, 126, 112, 0.2) !important;
}

.people-directory-page .directory-overview .stat-card.is-active::before {
  background: #d8fff8;
  box-shadow: 0 0 0 5px rgba(216, 255, 248, 0.15);
}

.people-directory-page .directory-overview .stat-card.is-active .stat-val,
.people-directory-page .directory-overview .stat-card.is-active .stat-label {
  color: #ffffff !important;
}

.people-directory-page .directory-overview .stat-val {
  font-size: 2rem !important;
}

.people-directory-page .table-wrap {
  border: 1px solid rgba(9, 56, 66, 0.11) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 18px 44px rgba(9, 48, 57, 0.09) !important;
}

.people-directory-page .table-head.directory-head {
  min-height: 112px !important;
  padding: 23px 26px !important;
  align-items: center;
  background:
    linear-gradient(110deg, rgba(223, 247, 242, 0.82), rgba(234, 244, 255, 0.7)) !important;
}

.people-directory-page .directory-head h2 {
  margin: 5px 0 2px !important;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem) !important;
}

.people-directory-page .directory-head-note {
  margin: 4px 0 0;
  color: var(--ph-muted);
  font-size: 0.77rem;
}

.people-directory-page .directory-result-block {
  min-width: 280px;
  padding: 12px 14px;
  border: 1px solid rgba(9, 56, 66, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.people-directory-page .directory-result-label {
  display: block;
  margin-bottom: 3px;
  color: var(--ph-muted);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.people-directory-page .directory-result-block .section-note {
  margin: 0;
  color: var(--directory-navy);
  font-size: 0.75rem;
  font-weight: 850;
}

.people-directory-page .directory-toolbar {
  display: flex !important;
  gap: 12px;
  align-items: flex-end !important;
  padding: 15px 26px 18px !important;
  background: #ffffff !important;
}

.people-directory-page .directory-toolbar .search-box {
  width: min(780px, 100%) !important;
}

.people-directory-page .directory-search-control {
  position: relative;
}

.people-directory-page .directory-search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 2px solid #688087;
  border-radius: 50%;
  transform: translateY(-58%);
  pointer-events: none;
}

.people-directory-page .directory-search-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: -5px;
  bottom: -3px;
  border-radius: 2px;
  background: #688087;
  transform: rotate(45deg);
}

.people-directory-page #searchInput {
  min-height: 50px !important;
  padding: 0 18px 0 45px !important;
  border: 1px solid rgba(9, 56, 66, 0.17) !important;
  border-radius: 13px !important;
  color: var(--directory-navy);
  background: #f8fbfb !important;
  font-size: 0.84rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.people-directory-page #searchInput:focus {
  border-color: var(--directory-teal) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(0, 167, 143, 0.11) !important;
}

.people-directory-page #clearFiltersBtn {
  min-height: 50px;
  padding-inline: 18px;
  border-radius: 12px !important;
}

.people-directory-page .table-scroll {
  padding: 0 12px 12px;
  background: #ffffff;
}

.people-directory-page .tbl {
  border-collapse: separate !important;
  border-spacing: 0 7px !important;
}

.people-directory-page .tbl thead th {
  height: 44px !important;
  padding: 0 14px !important;
  border: 0 !important;
  color: #647a80 !important;
  background: transparent !important;
  font-size: 0.62rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.people-directory-page .tbl tbody tr,
.people-directory-page .tbl tbody tr:nth-child(even) {
  height: 78px !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 1px rgba(9, 56, 66, 0.1);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.people-directory-page .tbl tbody tr:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-1px);
  background: #f4fbf9 !important;
  box-shadow:
    inset 4px 0 0 var(--directory-teal),
    0 10px 24px rgba(8, 43, 53, 0.09);
}

.people-directory-page .tbl tbody td {
  padding: 11px 14px !important;
  border: 0 !important;
  border-top: 1px solid transparent !important;
  border-bottom: 1px solid transparent !important;
  vertical-align: middle !important;
}

.people-directory-page .tbl tbody td:first-child {
  border-radius: 13px 0 0 13px;
}

.people-directory-page .tbl tbody td:last-child {
  border-radius: 0 13px 13px 0;
}

.people-directory-page .directory-employee-identity {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 240px;
}

.people-directory-page .avatar-small {
  width: 46px !important;
  height: 46px !important;
  flex: 0 0 46px;
  border: 3px solid #ffffff;
  border-radius: 14px !important;
  color: #075e56;
  background: var(--directory-mint) !important;
  box-shadow: 0 0 0 1px rgba(0, 126, 112, 0.16);
}

.people-directory-page .directory-employee-copy,
.people-directory-page .directory-contact-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.people-directory-page .emp-link {
  width: fit-content;
  color: var(--directory-navy) !important;
  font-size: 0.9rem !important;
  font-weight: 900 !important;
}

.people-directory-page .emp-id,
.people-directory-page .directory-contact-secondary {
  display: block;
  color: #799096 !important;
  font-size: 0.64rem !important;
  font-weight: 750 !important;
}

.people-directory-page .directory-contact-primary {
  max-width: 300px;
  overflow: hidden;
  color: #36565e;
  font-size: 0.74rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.people-directory-page .badge {
  min-height: 28px;
  padding: 7px 10px !important;
  border-radius: 999px !important;
}

.people-directory-page .btn-onboard {
  min-height: 36px;
  padding: 8px 13px !important;
  border: 1px solid rgba(0, 126, 112, 0.18) !important;
  border-radius: 10px !important;
  color: #006d62 !important;
  background: #edfaf7 !important;
}

.people-directory-page .btn-onboard:hover,
.people-directory-page .btn-onboard:focus-visible {
  color: #ffffff !important;
  background: #008c7d !important;
}

@media (max-width: 1120px) {
  .people-directory-page .directory-overview {
    grid-template-columns: 1fr;
  }

  .people-directory-page .directory-overview-copy {
    display: none;
  }

  .people-directory-page .directory-overview .stats-grid {
    overflow-x: auto;
    grid-template-columns: repeat(5, minmax(145px, 1fr));
  }
}

@media (max-width: 760px) {
  .people-directory-page .wrap {
    width: calc(100% - 14px) !important;
  }

  .people-directory-page .directory-hero {
    min-height: 0 !important;
    padding: 22px 18px 40px !important;
    border-radius: 17px !important;
  }

  .people-directory-page .directory-hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.25rem) !important;
  }

  .people-directory-page .directory-hero-note {
    font-size: 0.8rem;
  }

  .people-directory-page .directory-hero .header-brand {
    width: 100%;
  }

  .people-directory-page .directory-hero .header-actions {
    width: 100%;
    margin-top: 18px;
  }

  .people-directory-page .directory-hero #authActions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .people-directory-page .people-local-nav {
    margin: -24px 10px 14px;
  }

  .people-directory-page .directory-overview .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    overflow: visible;
  }

  .people-directory-page .directory-overview .stat-card {
    min-height: 84px !important;
  }

  .people-directory-page .table-head.directory-head {
    min-height: 0 !important;
    padding: 18px !important;
    align-items: flex-start;
  }

  .people-directory-page .directory-result-block {
    width: 100%;
    min-width: 0;
    margin-top: 12px;
  }

  .people-directory-page .directory-toolbar {
    padding: 13px 18px 16px !important;
  }

  .people-directory-page .directory-toolbar,
  .people-directory-page .directory-toolbar .search-box {
    width: 100% !important;
  }

  .people-directory-page .table-scroll {
    padding: 0 8px 10px;
  }

  .people-directory-page .tbl {
    min-width: 0 !important;
    border-spacing: 0 9px !important;
  }

  .people-directory-page .tbl thead {
    display: none;
  }

  .people-directory-page .tbl tbody,
  .people-directory-page .tbl tr,
  .people-directory-page .tbl td {
    display: block;
    width: 100%;
  }

  .people-directory-page .tbl tbody tr,
  .people-directory-page .tbl tbody tr:nth-child(even) {
    height: auto !important;
    min-height: 0;
    padding: 14px;
    border-radius: 15px;
  }

  .people-directory-page .tbl tbody td {
    padding: 0 !important;
  }

  .people-directory-page .tbl tbody td:first-child,
  .people-directory-page .tbl tbody td:last-child {
    border-radius: 0;
  }

  .people-directory-page .directory-employee-identity {
    min-width: 0;
    margin-bottom: 12px;
  }

  .people-directory-page .directory-contact-cell {
    margin: 0 0 12px 59px;
  }

  .people-directory-page .tbl tbody td:nth-child(3),
  .people-directory-page .tbl tbody td:nth-child(4) {
    display: inline-flex;
    width: auto;
    margin: 0 6px 12px 0;
  }

  .people-directory-page .tbl tbody td:last-child {
    display: flex;
  }

  .people-directory-page .btn-onboard {
    width: 100%;
    justify-content: center;
  }
}
/* Shared People feedback */
.people-feedback-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2147483647 !important;
  width: min(390px, calc(100vw - 28px));
  padding: 13px 16px;
  border: 1px solid rgba(0, 126, 112, 0.24);
  border-radius: 12px;
  color: #08343c;
  background: #eafaf7;
  box-shadow: 0 18px 44px rgba(8, 43, 53, 0.2);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.people-feedback-toast[data-tone="error"] {
  border-color: rgba(180, 45, 61, 0.28);
  color: #8b2635;
  background: #fff1f3;
}

.people-feedback-toast[data-tone="success"] {
  color: #056255;
  background: #e6faf5;
}

.people-confirm-open {
  overflow: hidden;
}

.people-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483500 !important;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3, 27, 33, 0.62);
  backdrop-filter: blur(5px);
}

.people-confirm-overlay[hidden] {
  display: none !important;
}

.people-confirm-card {
  width: min(430px, 100%);
  padding: 22px;
  border: 1px solid rgba(145, 224, 213, 0.5);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(3, 27, 33, 0.28);
}

.people-confirm-kicker {
  color: #008c7d;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.people-confirm-card h2 {
  margin: 7px 0 8px;
  color: #082f37;
  font-size: 1.45rem;
}

.people-confirm-card p {
  margin: 0;
  color: #587177;
  line-height: 1.55;
}

.people-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 20px;
}

.people-confirm-actions button {
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid rgba(9, 56, 66, 0.16);
  border-radius: 10px;
  color: #123d45;
  background: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.people-confirm-actions button.is-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #007d70, #00a78f);
}

.people-confirm-actions button[data-tone="danger"] {
  background: linear-gradient(135deg, #a72b3c, #cf4859);
}

@media (max-width: 620px) {
  .people-feedback-toast {
    right: auto;
    left: 50%;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    width: calc(100vw - 24px);
    max-width: 460px;
    transform: translateX(-50%);
    padding: 14px 16px;
  }

  .people-confirm-actions button {
    flex: 1;
  }
}
