:root {
  --hr-govi-blue: #003f7d;
  --hr-govi-blue-dark: #002b55;
  --hr-govi-blue-light: #eef6ff;
  --hr-govi-gold: #f5b335;
  --hr-text: #1f2937;
  --hr-muted: #667085;
  --hr-border: #d9e2ec;
  --hr-success: #177245;
  --hr-warning: #946200;
  --hr-danger: #9f1d20;
  --hr-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
  --hr-radius: 18px;
}

.hr-platform-container {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.hr-platform-hero {
  background:
    radial-gradient(circle at top right, rgba(245, 179, 53, 0.26), transparent 30%),
    linear-gradient(135deg, var(--hr-govi-blue-dark), var(--hr-govi-blue));
  color: #fff;
  padding: 72px 0 92px;
}

.hr-platform-hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.04em;
}

.hr-platform-hero p {
  max-width: 780px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hr-platform-eyebrow,
.hr-platform-eyebrow-dark,
.hr-platform-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hr-platform-eyebrow {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  margin-bottom: 18px;
}

.hr-platform-eyebrow::before,
.hr-platform-eyebrow-dark::before,
.hr-platform-card-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hr-govi-gold);
}

.hr-platform-eyebrow-dark,
.hr-platform-card-kicker {
  color: var(--hr-govi-blue);
  background: var(--hr-govi-blue-light);
  margin-bottom: 12px;
}

.hr-platform-actions,
.hr-platform-card-actions,
.hr-case-workflow-actions,
.hr-platform-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hr-platform-btn,
.hr-platform-btn:visited,
.hr-case-workflow-actions .button,
.hr-case-workflow-actions .button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
}

.hr-platform-btn-primary,
.hr-platform-btn-primary:visited,
.hr-case-workflow-actions .button--primary,
.hr-case-workflow-actions .button--primary:visited {
  background: var(--hr-govi-blue);
  color: #fff !important;
}

.hr-platform-btn-light,
.hr-platform-btn-light:visited {
  background: var(--hr-govi-gold);
  color: #1f2937 !important;
}

.hr-platform-btn-outline-light,
.hr-platform-btn-outline-light:visited {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
}

.hr-platform-btn-secondary,
.hr-platform-btn-secondary:visited,
.hr-case-workflow-actions .button:not(.button--primary),
.hr-case-workflow-actions .button:not(.button--primary):visited {
  color: var(--hr-govi-blue-dark) !important;
  background: #fff;
  border-color: var(--hr-border);
}

.hr-platform-btn-disabled {
  color: var(--hr-muted) !important;
  background: #f3f4f6;
  border-color: var(--hr-border);
  cursor: not-allowed;
}

.hr-platform-section {
  padding: 70px 0;
}

.hr-platform-section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.hr-platform-section-heading h2,
.hr-platform-page-heading h1,
.hr-case-file h1,
.hr-employee-file h1 {
  color: var(--hr-govi-blue-dark);
  letter-spacing: -0.03em;
}

.hr-platform-section-heading p,
.hr-platform-page-heading p,
.hr-case-subtitle,
.hr-employee-subtitle {
  color: var(--hr-muted);
}

.hr-platform-app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.hr-platform-app-card,
.hr-case-card,
.hr-employee-card,
.hr-platform-filters {
  background: #fff;
  border: 1px solid var(--hr-border);
  border-radius: var(--hr-radius);
  box-shadow: var(--hr-shadow);
}

.hr-platform-app-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.hr-platform-app-card::before,
.hr-case-card::before,
.hr-employee-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--hr-govi-blue), var(--hr-govi-gold));
}

.hr-platform-app-card h2 {
  color: var(--hr-govi-blue-dark);
  font-size: 1.45rem;
  margin: 0 0 10px;
}

.hr-platform-app-card p {
  color: var(--hr-muted);
  margin-bottom: 20px;
}

.hr-platform-dashboard,
.hr-case-file,
.hr-employee-file {
  width: min(100% - 32px, 1180px);
  margin: 36px auto 64px;
}

.hr-platform-page-heading,
.hr-case-header,
.hr-employee-header {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.hr-platform-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.hr-platform-tile {
  display: block;
  background: #fff;
  border: 1px solid var(--hr-border);
  border-radius: 16px;
  padding: 18px;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.hr-platform-tile strong {
  display: block;
  color: var(--hr-govi-blue-dark);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 6px;
}

.hr-platform-tile span {
  color: var(--hr-muted);
  font-weight: 700;
}

.hr-platform-filters {
  padding: 18px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  align-items: end;
}

.hr-platform-filters label {
  font-weight: 800;
  color: var(--hr-text);
}

.hr-platform-filters span {
  display: block;
  margin-top: 6px;
}

.hr-platform-filters input,
.hr-platform-filters select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--hr-border);
  border-radius: 10px;
  padding: 8px 10px;
}

.hr-platform-table {
  width: 100%;
  background: #fff;
  border: 1px solid var(--hr-border);
  border-radius: 14px;
  overflow: hidden;
}

.hr-platform-table th {
  background: var(--hr-govi-blue-dark);
  color: #fff;
  font-weight: 800;
}

.hr-platform-table th,
.hr-platform-table td {
  padding: 12px 14px;
  vertical-align: top;
}

.hr-case-card,
.hr-employee-card {
  position: relative;
  padding: 28px;
  margin-bottom: 22px;
  overflow: hidden;
}

.hr-case-meta-grid,
.hr-employee-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.hr-case-meta-item,
.hr-employee-meta-item {
  border: 1px solid var(--hr-border);
  border-radius: 14px;
  padding: 14px;
  background: #f8fafc;
}

.hr-case-meta-item span,
.hr-employee-meta-item span {
  display: block;
  color: var(--hr-muted);
  font-size: 0.86rem;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hr-case-meta-item strong,
.hr-employee-meta-item strong {
  color: var(--hr-text);
}

.hr-case-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--hr-govi-blue-light);
  color: var(--hr-govi-blue-dark);
  font-weight: 900;
}

.hr-case-fields .field,
.hr-employee-fields .field {
  border-bottom: 1px solid var(--hr-border);
  padding: 14px 0;
}

.hr-case-fields .field:last-child,
.hr-employee-fields .field:last-child {
  border-bottom: 0;
}

@media (max-width: 700px) {
  .hr-platform-page-heading,
  .hr-case-header,
  .hr-employee-header {
    display: block;
  }

  .hr-platform-actions,
  .hr-platform-card-actions,
  .hr-case-workflow-actions,
  .hr-platform-filter-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hr-platform-btn,
  .hr-case-workflow-actions .button {
    width: 100%;
  }
}

/* Application-first HR dashboard. */
.hr-dashboard-group {
  margin: 0 0 38px;
}

.hr-dashboard-group-heading,
.hr-dashboard-list-heading,
.hr-dashboard-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hr-dashboard-group-heading {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hr-border);
}

.hr-dashboard-group-heading h2,
.hr-dashboard-list-heading h2 {
  margin: 0;
  color: var(--hr-govi-blue-dark);
}

.hr-dashboard-group-heading span,
.hr-dashboard-list-heading p,
.hr-dashboard-total {
  color: var(--hr-muted);
  margin: 0;
}

.hr-dashboard-application-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}

.hr-dashboard-application-card,
.hr-dashboard-empty {
  height: 100%;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--hr-border);
  border-radius: var(--hr-radius);
  box-shadow: var(--hr-shadow);
}

.hr-dashboard-application-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hr-dashboard-application-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--hr-govi-blue), var(--hr-govi-gold));
}

.hr-dashboard-application-card h3 {
  margin: 4px 0 10px;
  font-size: 1.42rem;
}

.hr-dashboard-application-card h3 a {
  color: var(--hr-govi-blue-dark);
  text-decoration: none;
}

.hr-dashboard-application-card > p {
  color: var(--hr-muted);
  margin: 0 0 20px;
}

.hr-dashboard-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: auto 0 20px;
}

.hr-dashboard-card-metrics div {
  padding: 12px 10px;
  border-radius: 12px;
  background: #f7f9fc;
  border: 1px solid #e5eaf0;
}

.hr-dashboard-card-metrics dt {
  color: var(--hr-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.hr-dashboard-card-metrics dd {
  margin: 2px 0 0;
  color: var(--hr-govi-blue-dark);
  font-size: 1.35rem;
  font-weight: 900;
}

.hr-dashboard-card-metrics .is-overdue {
  background: #fff3f2;
  border-color: #f5c2c0;
}

.hr-dashboard-card-metrics .is-overdue dd {
  color: var(--hr-danger);
}

.hr-dashboard-open-link,
.hr-dashboard-back {
  color: var(--hr-govi-blue) !important;
  font-weight: 900;
  text-decoration: none !important;
}

.hr-dashboard-back {
  display: inline-block;
  margin-bottom: 16px;
}

.hr-platform-tile.is-active {
  border-color: var(--hr-govi-blue);
  background: var(--hr-govi-blue-light);
  box-shadow: 0 0 0 2px rgba(0, 63, 125, 0.15);
}

.hr-dashboard-case-list {
  overflow-x: auto;
}

.hr-dashboard-list-heading {
  margin: 4px 0 12px;
}

.hr-dashboard-case-list .hr-platform-table {
  min-width: 900px;
}

.hr-dashboard-empty {
  text-align: center;
  padding-block: 54px;
}

@media (max-width: 700px) {
  .hr-dashboard-group-heading,
  .hr-dashboard-list-heading {
    display: block;
  }

  .hr-dashboard-card-metrics {
    grid-template-columns: 1fr;
  }
}

/* Full reusable application dashboard (module-compatible theme override). */
.hr-full-application-dashboard {
  --hr-app-navy: var(--hr-govi-blue-dark, #123b61);
  --hr-app-blue: var(--hr-govi-blue, #1478bd);
  --hr-app-blue-soft: var(--hr-govi-blue-light, #edf6fd);
  --hr-app-border: var(--hr-border, #ccd9e6);
  --hr-app-text: var(--hr-text, #102a43);
  --hr-app-muted: var(--hr-muted, #52667a);
  --hr-app-red: var(--hr-danger, #cf3b2e);
  --hr-app-orange: #e88915;
  --hr-app-green: var(--hr-success, #258553);
  --hr-app-purple: #7146b8;
  --hr-app-slate: #62748a;
}

.hr-app-dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 30px;
  align-items: stretch;
  margin-bottom: 24px;
  padding: 26px 28px;
  color: #fff;
  background: var(--hr-app-navy);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(18, 59, 97, 0.18);
}

.hr-app-dashboard-hero-main {
  align-self: center;
}

.hr-app-dashboard-department {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hr-app-dashboard-hero h1 {
  margin: 0 0 8px;
  color: #fff !important;
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hr-app-dashboard-hero p {
  max-width: 690px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
}

.hr-app-dashboard-hero-button,
.hr-app-dashboard-hero-button:visited {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
}

.hr-app-dashboard-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}

.hr-app-dashboard-metric {
  min-height: 82px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
}

.hr-app-dashboard-metric strong,
.hr-app-dashboard-metric span {
  display: block;
}

.hr-app-dashboard-metric strong {
  margin-bottom: 2px;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
}

.hr-app-dashboard-metric span {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
}

.hr-app-dashboard-updated {
  grid-column: 1 / -1;
  padding-top: 2px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.74rem;
  font-weight: 700;
  text-align: right;
}

.hr-app-dashboard-section {
  margin: 0 0 24px;
}

.hr-app-dashboard-section-heading {
  margin-bottom: 11px;
}

.hr-app-dashboard-section-heading h2 {
  margin: 0 0 2px;
  color: var(--hr-app-text);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.hr-app-dashboard-section-heading p {
  margin: 0;
  color: var(--hr-app-muted);
  font-size: 0.9rem;
}

.hr-app-alert-list {
  display: grid;
  gap: 10px;
}

.hr-app-alert {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 66px;
  padding: 13px 16px 13px 20px;
  background: #fff;
  border: 1px solid var(--hr-app-border);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(16, 42, 67, 0.06);
}

.hr-app-alert::before,
.hr-app-queue-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--hr-app-blue);
  border-radius: 12px 0 0 12px;
}

.hr-app-alert h3 {
  margin: 0 0 2px;
  color: var(--hr-app-text);
  font-size: 0.96rem;
}

.hr-app-alert p {
  margin: 0;
  color: var(--hr-app-muted);
  font-size: 0.82rem;
}

.hr-app-alert > a,
.hr-app-alert > a:visited,
.hr-app-queue-card > a,
.hr-app-queue-card > a:visited {
  flex: 0 0 auto;
  padding: 7px 11px;
  color: #075991 !important;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none !important;
  background: var(--hr-app-blue-soft);
  border-radius: 999px;
}

.hr-app-alert.is-active,
.hr-app-queue-card.is-active {
  border-color: var(--hr-app-blue);
  box-shadow: 0 0 0 2px rgba(20, 120, 189, 0.16);
}

.hr-app-alert.is-empty {
  opacity: 0.72;
}

.hr-app-queue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.hr-app-queue-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 205px;
  padding: 17px 15px 14px 20px;
  background: #fff;
  border: 1px solid var(--hr-app-border);
  border-radius: 12px;
  box-shadow: 0 5px 14px rgba(16, 42, 67, 0.06);
  overflow: hidden;
}

.hr-app-queue-card h3 {
  min-height: 38px;
  margin: 0 0 6px;
  color: var(--hr-app-text);
  font-size: 0.96rem;
  line-height: 1.13;
}

.hr-app-queue-count {
  display: block;
  margin-bottom: 5px;
  color: var(--hr-app-blue);
  font-size: 2rem;
  line-height: 1;
}

.hr-app-queue-card p {
  margin: 0 0 12px;
  color: var(--hr-app-muted);
  font-size: 0.79rem;
  line-height: 1.35;
}

.hr-app-queue-card > a {
  align-self: flex-end;
  margin-top: auto;
}

.hr-app-tone-red::before {
  background: var(--hr-app-red);
}

.hr-app-tone-orange::before {
  background: var(--hr-app-orange);
}

.hr-app-tone-green::before {
  background: var(--hr-app-green);
}

.hr-app-tone-purple::before {
  background: var(--hr-app-purple);
}

.hr-app-tone-slate::before {
  background: var(--hr-app-slate);
}

.hr-app-tone-red .hr-app-queue-count {
  color: var(--hr-app-red);
}

.hr-app-tone-orange .hr-app-queue-count {
  color: var(--hr-app-orange);
}

.hr-app-tone-green .hr-app-queue-count {
  color: var(--hr-app-green);
}

.hr-app-tone-purple .hr-app-queue-count {
  color: var(--hr-app-purple);
}

.hr-app-tone-slate .hr-app-queue-count {
  color: var(--hr-app-slate);
}

.hr-app-case-panel {
  padding: 17px 15px 13px;
  background: #fff;
  border: 1px solid var(--hr-app-border);
  border-radius: 14px;
  box-shadow: 0 5px 15px rgba(16, 42, 67, 0.06);
}

.hr-app-case-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.hr-app-case-panel-heading h2 {
  margin: 0 0 3px;
  color: var(--hr-app-text);
  font-size: 1.35rem;
}

.hr-app-case-panel-heading p {
  margin: 0;
  color: var(--hr-app-muted);
  font-size: 0.87rem;
}

.hr-app-filter-details {
  margin: 0 0 11px;
  border: 1px solid #dbe5ef;
  border-radius: 10px;
}

.hr-app-filter-details summary {
  padding: 9px 12px;
  color: #174e78;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  background: #f4f8fb;
  border-radius: 10px;
}

.hr-app-filter-details[open] summary {
  border-bottom: 1px solid #dbe5ef;
  border-radius: 10px 10px 0 0;
}

.hr-app-case-filters {
  margin: 0;
  padding: 13px;
  border: 0;
  border-radius: 0 0 10px 10px;
  box-shadow: none;
}

.hr-app-case-table-wrapper {
  overflow-x: auto;
  border: 1px solid #b9c9d9;
  border-radius: 10px;
}

.hr-app-case-table {
  width: 100%;
  min-width: 920px;
  margin: 0;
  border-collapse: collapse;
  background: #fff;
}

.hr-app-case-table th {
  padding: 11px 12px;
  color: #153a5a;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-align: left;
  text-transform: uppercase;
  background: #f3f7fa;
  border-bottom: 2px solid #153a5a;
}

.hr-app-case-table td {
  padding: 13px 12px;
  color: var(--hr-app-text);
  vertical-align: top;
  border-right: 1px solid #cbd8e4;
  border-bottom: 1px solid #cbd8e4;
}

.hr-app-case-table td:last-child,
.hr-app-case-table th:last-child {
  border-right: 0;
}

.hr-app-case-table tr:last-child td {
  border-bottom: 0;
}

.hr-app-case-table td strong,
.hr-app-case-table td small {
  display: block;
}

.hr-app-case-table td strong {
  margin-bottom: 5px;
  color: var(--hr-app-text);
}

.hr-app-case-table td strong a {
  color: #075991;
  text-decoration: none;
}

.hr-app-case-table td small {
  max-width: 270px;
  color: var(--hr-app-muted);
  font-size: 0.75rem;
  line-height: 1.38;
}

.hr-app-stage,
.hr-app-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 5px 6px 0;
  padding: 5px 8px;
  font-size: 0.67rem;
  font-weight: 800;
  line-height: 1.1;
  border: 1px solid #a9cbe4;
  border-radius: 999px;
}

.hr-app-stage-blue,
.hr-app-pill-blue {
  color: #075991;
  background: #edf6fd;
  border-color: #a9cbe4;
}

.hr-app-stage-green,
.hr-app-pill-green {
  color: #17643f;
  background: #edf8f2;
  border-color: #acd8bf;
}

.hr-app-stage-red,
.hr-app-pill-red {
  color: #a32820;
  background: #fff0ee;
  border-color: #edb5af;
}

.hr-app-stage-orange,
.hr-app-pill-orange {
  color: #95510b;
  background: #fff5e8;
  border-color: #efc58d;
}

.hr-app-pill-purple {
  color: #5f2fa4;
  background: #f4ecff;
  border-color: #cbb1ef;
}

.hr-app-pill-slate {
  color: #43566b;
  background: #eef2f6;
  border-color: #c3ced9;
}

.hr-app-pill-list {
  display: flex;
  flex-wrap: wrap;
}

.hr-app-case-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.hr-app-table-button,
.hr-app-table-button:visited {
  display: inline-flex;
  padding: 8px 11px;
  color: #075991 !important;
  font-size: 0.73rem;
  font-weight: 800;
  text-decoration: none !important;
  background: #edf6fd;
  border-radius: 999px;
}

.hr-app-table-secondary-link,
.hr-app-table-secondary-link:visited {
  color: #48637a !important;
  font-size: 0.73rem;
  font-weight: 700;
  text-decoration: underline;
}

.hr-app-dashboard-empty-section {
  padding: 18px;
  color: var(--hr-app-muted);
  text-align: center;
  background: #fff;
  border: 1px solid var(--hr-app-border);
  border-radius: 12px;
}

@media (max-width: 820px) {
  .hr-app-dashboard-hero {
    grid-template-columns: 1fr;
  }

  .hr-app-dashboard-updated {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .hr-app-dashboard-hero {
    padding: 22px 18px;
  }

  .hr-app-dashboard-summary {
    grid-template-columns: 1fr 1fr;
  }

  .hr-app-alert {
    display: block;
  }

  .hr-app-alert > a {
    display: inline-flex;
    margin-top: 10px;
  }

  .hr-app-queue-grid {
    grid-template-columns: 1fr;
  }

  .hr-app-queue-card {
    min-height: 0;
  }
}


/* --------------------------------------------------------------------------
 * Modern HR Employee File route.
 * -------------------------------------------------------------------------- */
.hr-employee-file-view {
  width: min(100% - 32px, 1180px);
  margin: 28px auto 64px;
  color: var(--hr-text);
}

.hr-employee-file-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 30px;
  margin-bottom: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 12%, rgba(56, 132, 255, 0.36), transparent 34%),
    linear-gradient(135deg, #062f5c, #0b4d91);
  color: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.13);
}

.hr-employee-file-hero__identity {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.hr-employee-file-avatar {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.hr-employee-file-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hr-employee-file-hero .hr-platform-eyebrow {
  margin-bottom: 9px;
  padding: 5px 9px;
  font-size: 0.72rem;
}

.hr-employee-file-hero__subtitle {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
}

.hr-employee-file-back,
.hr-employee-file-back:visited {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.10);
  text-decoration: none !important;
  font-weight: 800;
}

.hr-employee-file-back:hover,
.hr-employee-file-back:focus {
  background: rgba(255, 255, 255, 0.18);
}

.hr-employee-profile-card,
.hr-employee-history-card {
  background: #fff;
  border: 1px solid var(--hr-border);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.hr-employee-profile-card {
  padding: 18px;
  margin-bottom: 16px;
}

.hr-employee-profile-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.hr-employee-profile-item {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  background: #f8fafc;
}

.hr-employee-profile-item span,
.hr-employee-case-meta dt {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hr-employee-profile-item strong {
  display: block;
  overflow-wrap: anywhere;
  color: #102a43;
  font-size: 0.94rem;
}

.hr-employee-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.hr-employee-summary-card {
  padding: 17px 18px;
  border: 1px solid var(--hr-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.hr-employee-summary-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--hr-govi-blue-dark);
  font-size: 1.45rem;
  line-height: 1.1;
}

.hr-employee-summary-card span {
  color: var(--hr-muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.hr-employee-history-card {
  padding: 24px;
}

.hr-employee-history-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.hr-employee-history-heading h2 {
  margin: 0 0 6px;
  color: var(--hr-govi-blue-dark);
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}

.hr-employee-history-heading p {
  margin: 0;
  color: var(--hr-muted);
}

.hr-employee-results-count {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--hr-govi-blue-dark);
  background: #eef6ff;
  font-size: 0.8rem;
  font-weight: 800;
}

.hr-employee-filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) minmax(220px, 0.8fr) auto;
  gap: 12px;
  align-items: end;
  padding: 15px;
  margin-bottom: 22px;
  border: 1px solid #dce6f1;
  border-radius: 15px;
  background: #f7faff;
}

.hr-employee-filter-field label {
  display: block;
  margin-bottom: 6px;
  color: #334e68;
  font-size: 0.78rem;
  font-weight: 800;
}

.hr-employee-filter-field input,
.hr-employee-filter-field select {
  width: 100%;
  min-height: 44px;
  margin: 0;
  border: 1px solid #cbd8e6;
  border-radius: 10px;
  background: #fff;
  color: #102a43;
  box-shadow: none;
}

.hr-employee-filter-field input:focus,
.hr-employee-filter-field select:focus {
  border-color: #3a7bd5;
  outline: 3px solid rgba(58, 123, 213, 0.16);
}

.hr-employee-filter-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.hr-employee-application-groups {
  display: grid;
  gap: 18px;
}

.hr-employee-app-group {
  --hr-app-accent: #2e6fbd;
  --hr-app-soft: #eef6ff;
  overflow: hidden;
  border: 1px solid #dbe5ef;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.045);
}

.hr-employee-app-group.is-blue { --hr-app-accent: #2768bd; --hr-app-soft: #eaf3ff; }
.hr-employee-app-group.is-green { --hr-app-accent: #23875b; --hr-app-soft: #eaf8f1; }
.hr-employee-app-group.is-purple { --hr-app-accent: #7357b5; --hr-app-soft: #f1edfb; }
.hr-employee-app-group.is-orange { --hr-app-accent: #b86418; --hr-app-soft: #fff2e5; }
.hr-employee-app-group.is-teal { --hr-app-accent: #147f86; --hr-app-soft: #e9f8f8; }
.hr-employee-app-group.is-indigo { --hr-app-accent: #4a5fc1; --hr-app-soft: #edf0ff; }
.hr-employee-app-group.is-red { --hr-app-accent: #b23a48; --hr-app-soft: #fff0f1; }
.hr-employee-app-group.is-gold { --hr-app-accent: #9b6a00; --hr-app-soft: #fff7df; }

.hr-employee-app-group__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
  border-bottom: 1px solid #e4ebf2;
  border-left: 5px solid var(--hr-app-accent);
  background: var(--hr-app-soft);
}

.hr-employee-app-group__identity {
  display: flex;
  align-items: center;
  gap: 11px;
}

.hr-employee-app-dot {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border-radius: 50%;
  background: var(--hr-app-accent);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.72);
}

.hr-employee-app-group__header h3 {
  margin: 0 0 2px;
  color: #102a43;
  font-size: 1.06rem;
}

.hr-employee-app-group__header p {
  margin: 0;
  color: #60758a;
  font-size: 0.79rem;
}

.hr-employee-app-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--hr-app-accent);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--hr-app-accent) 25%, #fff);
  font-size: 0.75rem;
  font-weight: 850;
}

.hr-employee-case-list {
  display: grid;
  gap: 0;
}

.hr-employee-case-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 19px 18px 22px;
  border-bottom: 1px solid #edf1f5;
  background: #fff;
}

.hr-employee-case-card:last-child {
  border-bottom: 0;
}

.hr-employee-case-card::before {
  content: "";
  position: absolute;
  top: 17px;
  bottom: 17px;
  left: 0;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--hr-app-accent);
}

.hr-employee-case-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.hr-employee-case-number {
  margin-bottom: 3px;
  color: #49647e;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.025em;
}

.hr-employee-case-title-row h4 {
  margin: 0;
  font-size: 1.03rem;
}

.hr-employee-case-title-row h4 a,
.hr-employee-case-title-row h4 a:visited {
  color: #102a43;
  text-decoration: none;
}

.hr-employee-case-title-row h4 a:hover,
.hr-employee-case-title-row h4 a:focus {
  color: var(--hr-app-accent);
  text-decoration: underline;
}

.hr-employee-status-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
}

.hr-employee-status-pill.is-active { color: #0b4d91; background: #e8f2ff; }
.hr-employee-status-pill.is-waiting { color: #70520a; background: #fff4d8; }
.hr-employee-status-pill.is-complete { color: #12633f; background: #e7f6ee; }
.hr-employee-status-pill.is-stopped { color: #8d2831; background: #fdecee; }
.hr-employee-status-pill.is-neutral { color: #53677b; background: #eef2f6; }

.hr-employee-case-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 0;
}

.hr-employee-case-meta div {
  min-width: 0;
}

.hr-employee-case-meta dt {
  margin: 0 0 3px;
}

.hr-employee-case-meta dd {
  margin: 0;
  color: #263e55;
  font-size: 0.88rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.hr-employee-open-case,
.hr-employee-open-case:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid color-mix(in srgb, var(--hr-app-accent) 24%, #dbe5ef);
  border-radius: 10px;
  color: var(--hr-app-accent) !important;
  background: var(--hr-app-soft);
  text-decoration: none !important;
  font-size: 0.82rem;
  font-weight: 850;
  white-space: nowrap;
}

.hr-employee-open-case:hover,
.hr-employee-open-case:focus {
  filter: brightness(0.98);
  transform: translateY(-1px);
}

.hr-employee-empty-state {
  padding: 44px 20px;
  text-align: center;
  border: 1px dashed #c9d6e3;
  border-radius: 16px;
  background: #f9fbfd;
}

.hr-employee-empty-state__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  border-radius: 50%;
  color: var(--hr-govi-blue);
  background: #eaf3ff;
  font-size: 1.5rem;
}

.hr-employee-empty-state h3 {
  margin: 0 0 6px;
  color: var(--hr-govi-blue-dark);
}

.hr-employee-empty-state p {
  margin: 0 auto 16px;
  max-width: 560px;
  color: var(--hr-muted);
}

@media (max-width: 980px) {
  .hr-employee-profile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hr-employee-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hr-employee-filter-bar {
    grid-template-columns: 1fr 1fr;
  }

  .hr-employee-filter-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .hr-employee-file-view {
    width: min(100% - 18px, 1180px);
    margin-top: 18px;
  }

  .hr-employee-file-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .hr-employee-file-hero__identity {
    align-items: flex-start;
  }

  .hr-employee-file-avatar {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    border-radius: 17px;
    font-size: 1.2rem;
  }

  .hr-employee-profile-grid,
  .hr-employee-summary-grid,
  .hr-employee-filter-bar,
  .hr-employee-case-meta {
    grid-template-columns: 1fr;
  }

  .hr-employee-history-card {
    padding: 16px;
  }

  .hr-employee-history-heading,
  .hr-employee-app-group__header,
  .hr-employee-case-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .hr-employee-case-card {
    grid-template-columns: 1fr;
  }

  .hr-employee-case-card__action {
    justify-self: stretch;
  }

  .hr-employee-open-case {
    justify-content: center;
    width: 100%;
  }

  .hr-employee-app-badge {
    white-space: normal;
  }
}

/* --------------------------------------------------------------------------
 * Searchable HR Employee Files directory.
 * -------------------------------------------------------------------------- */
.hr-employee-directory {
  width: min(100% - 32px, 1280px);
  margin: 28px auto 64px;
  color: var(--hr-text);
}

.hr-employee-directory-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 30px;
  margin-bottom: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 12%, rgba(56, 132, 255, 0.36), transparent 34%),
    linear-gradient(135deg, #062f5c, #0b4d91);
  color: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.13);
}

.hr-employee-directory-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hr-employee-directory-hero p {
  max-width: 720px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
}

.hr-employee-directory-hero .hr-platform-eyebrow {
  margin-bottom: 9px;
}

.hr-employee-file-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.hr-employee-directory-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 12px;
  margin-bottom: 18px;
}

.hr-employee-directory-card {
  padding: 24px;
  border: 1px solid var(--hr-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.hr-employee-directory-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.hr-employee-directory-heading h2 {
  margin: 0 0 6px;
  color: var(--hr-govi-blue-dark);
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}

.hr-employee-directory-heading p {
  margin: 0;
  color: var(--hr-muted);
}

.hr-employee-directory-filters {
  display: grid;
  grid-template-columns: minmax(280px, 1.55fr) repeat(3, minmax(170px, 0.8fr));
  gap: 12px;
  align-items: end;
  padding: 16px;
  margin-bottom: 22px;
  border: 1px solid #dce6f1;
  border-radius: 15px;
  background: #f7faff;
}

.hr-employee-directory-filter--search {
  grid-column: span 2;
}

.hr-employee-directory-filter--direction {
  min-width: 130px;
}

.hr-employee-directory-filter-actions {
  align-self: end;
}

.hr-employee-directory-table-wrap {
  overflow-x: auto;
  border: 1px solid #dfe7ef;
  border-radius: 15px;
  background: #fff;
}

.hr-employee-directory-table {
  width: 100%;
  min-width: 1040px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.hr-employee-directory-table thead th {
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid #dfe7ef;
  color: #4d6378;
  background: #f4f8fc;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.hr-employee-directory-table tbody td {
  padding: 15px 14px;
  border: 0;
  border-bottom: 1px solid #edf1f5;
  color: #263e55;
  font-size: 0.87rem;
  vertical-align: middle;
}

.hr-employee-directory-table tbody tr:last-child td {
  border-bottom: 0;
}

.hr-employee-directory-table tbody tr:hover {
  background: #fbfdff;
}

.hr-employee-directory-person {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 210px;
}

.hr-employee-directory-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #0b4d91;
  background: #eaf3ff;
  border: 1px solid #d3e5fa;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.hr-employee-directory-name,
.hr-employee-directory-name:visited {
  display: block;
  color: #102a43 !important;
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1.25;
  text-decoration: none !important;
}

.hr-employee-directory-name:hover,
.hr-employee-directory-name:focus {
  color: #0b5cab !important;
  text-decoration: underline !important;
}

.hr-employee-directory-email,
.hr-employee-directory-subtext {
  display: block;
  margin-top: 3px;
  color: #6a7f93;
  font-size: 0.78rem;
  font-weight: 550;
  overflow-wrap: anywhere;
}

.hr-employee-directory-number {
  color: #334e68;
  font-size: 0.86rem;
}

.hr-employee-directory-app-summary > strong {
  display: block;
  margin-bottom: 6px;
  color: #334e68;
  font-size: 0.82rem;
}

.hr-employee-directory-app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: 330px;
}

.hr-directory-app-badge {
  --hr-directory-accent: #2768bd;
  --hr-directory-soft: #eaf3ff;
  display: inline-flex;
  align-items: center;
  max-width: 170px;
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--hr-directory-accent);
  background: var(--hr-directory-soft);
  border: 1px solid color-mix(in srgb, var(--hr-directory-accent) 20%, #fff);
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hr-directory-app-badge.is-blue { --hr-directory-accent: #2768bd; --hr-directory-soft: #eaf3ff; }
.hr-directory-app-badge.is-green { --hr-directory-accent: #23875b; --hr-directory-soft: #eaf8f1; }
.hr-directory-app-badge.is-purple { --hr-directory-accent: #7357b5; --hr-directory-soft: #f1edfb; }
.hr-directory-app-badge.is-orange { --hr-directory-accent: #b86418; --hr-directory-soft: #fff2e5; }
.hr-directory-app-badge.is-teal { --hr-directory-accent: #147f86; --hr-directory-soft: #e9f8f8; }
.hr-directory-app-badge.is-indigo { --hr-directory-accent: #4a5fc1; --hr-directory-soft: #edf0ff; }
.hr-directory-app-badge.is-red { --hr-directory-accent: #b23a48; --hr-directory-soft: #fff0f1; }
.hr-directory-app-badge.is-gold { --hr-directory-accent: #9b6a00; --hr-directory-soft: #fff7df; }

.hr-employee-directory-action {
  text-align: right;
}

.hr-employee-directory-pager {
  margin-top: 20px;
}

.hr-employee-directory-pager .pager {
  margin: 0;
}

@media (max-width: 1080px) {
  .hr-employee-directory-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hr-employee-directory-filter--search {
    grid-column: 1 / -1;
  }

  .hr-employee-directory-filter-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .hr-employee-directory {
    width: min(100% - 18px, 1280px);
    margin-top: 18px;
  }

  .hr-employee-directory-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .hr-employee-file-hero__actions {
    justify-content: flex-start;
  }

  .hr-employee-directory-summary,
  .hr-employee-directory-filters {
    grid-template-columns: 1fr;
  }

  .hr-employee-directory-filter--search,
  .hr-employee-directory-filter-actions {
    grid-column: auto;
  }

  .hr-employee-directory-card {
    padding: 16px;
  }

  .hr-employee-directory-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
