:root {
  --navy-950: #061d30;
  --navy-900: #0b2f4f;
  --navy-800: #123f66;
  --navy-700: #19527f;
  --blue-100: #eaf2f8;
  --gold-500: #d8ac4d;
  --gold-400: #e9c66d;
  --gold-100: #fbf4df;
  --ink-900: #17232d;
  --ink-700: #40515f;
  --ink-500: #6c7a86;
  --line: #dce4ea;
  --surface: #ffffff;
  --surface-muted: #f5f7f9;
  --success: #196b47;
  --success-bg: #e8f5ee;
  --danger: #a13939;
  --danger-bg: #fceded;
  --warning: #805c13;
  --warning-bg: #fff8e7;
  --shadow-sm: 0 5px 20px rgba(9, 36, 57, 0.07);
  --shadow-md: 0 18px 48px rgba(9, 36, 57, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1180px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface-muted);
  color: var(--ink-900);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--surface);
  color: var(--navy-900);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 3px;
}

.site-header,
.detail-header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 87% 14%, rgba(216, 172, 77, 0.2), transparent 25%),
    linear-gradient(125deg, var(--navy-950), var(--navy-900) 52%, var(--navy-800));
  color: white;
}

.site-header {
  min-height: 475px;
  padding-bottom: 104px;
}

.header-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(30deg, transparent 48%, rgba(255, 255, 255, 0.08) 49%, rgba(255, 255, 255, 0.08) 51%, transparent 52%),
    linear-gradient(150deg, transparent 48%, rgba(255, 255, 255, 0.05) 49%, rgba(255, 255, 255, 0.05) 51%, transparent 52%);
  background-size: 76px 132px;
  mask-image: linear-gradient(to left, black, transparent 82%);
}

.header-inner,
.detail-nav {
  position: relative;
  z-index: 1;
}

.brand-row,
.detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: white;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-400);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  letter-spacing: 0.01em;
}

.brand-copy span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.header-label {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 72px;
  align-items: end;
  padding-top: 65px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 9px;
  color: var(--gold-500);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 740px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(39px, 5vw, 61px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.hero-description {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.75;
}

.hero-stat {
  display: flex;
  min-height: 176px;
  flex-direction: column;
  justify-content: center;
  padding: 25px 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-stat-value {
  color: var(--gold-400);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-stat-label {
  margin-top: 9px;
  font-size: 14px;
  font-weight: 700;
}

.hero-stat-note {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  line-height: 1.45;
}

.main-content {
  position: relative;
  z-index: 2;
  margin-top: -58px;
  padding-bottom: 86px;
}

.control-panel {
  padding: 30px 34px 34px;
  border: 1px solid rgba(217, 226, 232, 0.8);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.control-heading,
.result-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.control-heading {
  margin-bottom: 24px;
}

.control-heading h2,
.result-toolbar h2 {
  margin: 0;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.25;
}

.control-heading > p {
  max-width: 390px;
  margin: 0;
  color: var(--ink-500);
  font-size: 13px;
  text-align: right;
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.8fr) minmax(170px, 0.85fr) minmax(150px, 0.72fr) auto;
  gap: 14px;
  align-items: end;
}

.form-field {
  min-width: 0;
}

.form-field label {
  display: block;
  margin: 0 0 7px;
  color: var(--ink-700);
  font-size: 12px;
  font-weight: 700;
}

.input-with-icon {
  position: relative;
}

.input-with-icon svg {
  position: absolute;
  top: 50%;
  left: 14px;
  color: var(--ink-500);
  pointer-events: none;
  transform: translateY(-50%);
}

input,
select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfcfd;
  color: var(--ink-900);
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input {
  padding: 0 15px;
}

.input-with-icon input {
  padding-left: 44px;
}

select {
  appearance: none;
  padding: 0 42px 0 14px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-500) 50%),
    linear-gradient(135deg, var(--ink-500) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 13px) 21px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

input:hover,
select:hover {
  border-color: #b5c3ce;
}

input:focus,
select:focus {
  border-color: var(--navy-700);
  outline: none;
  background: white;
  box-shadow: 0 0 0 3px rgba(25, 82, 127, 0.12);
}

input::placeholder {
  color: #98a5af;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--navy-900);
  color: white;
  box-shadow: 0 6px 18px rgba(11, 47, 79, 0.18);
}

.button-primary:hover {
  background: var(--navy-800);
}

.button-secondary {
  border-color: var(--line);
  background: white;
  color: var(--navy-800);
}

.button-secondary:hover {
  border-color: #b9c8d2;
  background: var(--blue-100);
}

.reset-button {
  height: 48px;
  white-space: nowrap;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 24px;
  padding: 14px 17px;
  border: 1px solid #eedca8;
  border-radius: var(--radius-sm);
  color: var(--warning);
  font-size: 13px;
}

.notice-warning {
  background: var(--warning-bg);
}

.notice svg {
  flex: 0 0 auto;
  margin-top: 1px;
}

.directory-section {
  padding-top: 55px;
}

.result-toolbar {
  margin-bottom: 24px;
}

.result-summary {
  margin: 0;
  color: var(--ink-500);
  font-size: 13px;
  font-weight: 600;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.staff-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink-900);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.staff-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  height: 3px;
  background: var(--gold-500);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.staff-card:hover,
.staff-card:focus-visible {
  border-color: #b9cad5;
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(9, 36, 57, 0.13);
}

.staff-card:hover::after,
.staff-card:focus-visible::after {
  transform: scaleX(1);
}

.reference-card-body {
  display: flex;
  min-height: 278px;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 20px;
}

.reference-card-profile {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.reference-card-photo {
  position: relative;
  width: 88px;
  height: 88px;
  overflow: hidden;
  border: 4px solid #eef3f6;
  border-radius: 50%;
  background: linear-gradient(145deg, #edf3f7, #dbe7ee);
  box-shadow: 0 8px 20px rgba(11, 47, 79, 0.12);
}

.reference-card-photo .staff-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.reference-card-photo .avatar-fallback span {
  width: 80px;
  height: 80px;
  border-width: 4px;
  font-size: 25px;
  box-shadow: none;
}

.reference-card-identity {
  min-width: 0;
}

.reference-card-identity .staff-name {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.staff-unit {
  display: -webkit-box;
  overflow: hidden;
  min-height: 38px;
  margin: 8px 0 0;
  color: var(--navy-700);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.reference-card-meta {
  margin: 21px 0 0;
  padding: 15px 0;
  border-top: 1px solid #e9eef2;
  border-bottom: 1px solid #e9eef2;
}

.reference-card-meta div {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.reference-card-meta dt,
.reference-card-meta dd {
  margin: 0;
  line-height: 1.45;
}

.reference-card-meta dt {
  color: var(--ink-500);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reference-card-meta dd {
  overflow-wrap: anywhere;
  color: var(--ink-900);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.reference-card-body .card-link-label {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 15px;
  border-radius: 7px;
  background: var(--navy-700);
  color: white;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: background 0.2s ease;
}

.staff-card:hover .reference-card-body .card-link-label,
.staff-card:focus-visible .reference-card-body .card-link-label {
  background: var(--navy-900);
}

.card-media {
  position: relative;
  display: grid;
  min-height: 176px;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.85), transparent 34%),
    linear-gradient(145deg, #edf3f7, #dbe7ee);
}

.card-media::before,
.detail-photo-wrap::before {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(21, 77, 119, 0.1);
  border-radius: 50%;
  content: "";
}

.staff-photo,
.avatar-fallback {
  width: 100%;
  height: 100%;
}

.staff-photo {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center top;
}

.avatar-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--navy-800);
}

.avatar-fallback span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 6px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -0.04em;
  box-shadow: 0 10px 30px rgba(11, 47, 79, 0.18);
}

.status-badge {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-transform: uppercase;
}

.card-media > .status-badge {
  position: absolute;
  z-index: 2;
  top: 13px;
  right: 13px;
}

.status-pns {
  border-color: #bee3cf;
  background: var(--success-bg);
  color: var(--success);
}

.status-contract {
  border-color: #ecd99e;
  background: var(--gold-100);
  color: #75530d;
}

.status-non-pns {
  border-color: #efd0d0;
  background: var(--danger-bg);
  color: var(--danger);
}

.status-default {
  border-color: #cadde9;
  background: var(--blue-100);
  color: var(--navy-700);
}

.card-body {
  display: flex;
  min-height: 306px;
  flex: 1;
  flex-direction: column;
  padding: 23px 22px 21px;
}

.staff-nip {
  margin: 0 0 8px;
  color: var(--ink-500);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.staff-name {
  margin: 0;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.25;
}

.staff-role {
  min-height: 44px;
  margin: 10px 0 18px;
  color: var(--ink-700);
  font-size: 13px;
  line-height: 1.55;
}

.card-meta {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 15px 0;
  border-top: 1px solid #edf1f3;
  border-bottom: 1px solid #edf1f3;
}

.card-meta div {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 10px;
}

.card-meta dt,
.card-meta dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
}

.card-meta dt {
  color: var(--ink-500);
}

.card-meta dd {
  color: var(--ink-700);
  font-weight: 650;
  text-align: right;
}

.card-link-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 17px;
  color: var(--navy-700);
  font-size: 12px;
  font-weight: 800;
}

.card-link-label svg {
  transition: transform 0.2s ease;
}

.staff-card:hover .card-link-label svg {
  transform: translateX(4px);
}

.skeleton-card {
  min-height: 278px;
  padding: 128px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.7) 50%, transparent 60%) 0 0 / 220% 100%,
    linear-gradient(#e7edf1 108px, white 108px);
  box-shadow: var(--shadow-sm);
  animation: shimmer 1.45s infinite linear;
}

.skeleton-card span,
.skeleton-card i {
  display: block;
  border-radius: 6px;
  background: #e6ecef;
}

.skeleton-card span {
  width: 78%;
  height: 19px;
  margin-bottom: 14px;
}

.skeleton-card i {
  width: 100%;
  height: 10px;
  margin-top: 10px;
}

.skeleton-card i:nth-of-type(2) {
  width: 64%;
}

.skeleton-card i:nth-of-type(3) {
  width: 84%;
  margin-top: 52px;
}

@keyframes shimmer {
  to { background-position: -220% 0, 0 0; }
}

.state-card {
  display: flex;
  min-height: 345px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 44px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.state-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--navy-700);
}

.state-icon-error {
  background: var(--danger-bg);
  color: var(--danger);
}

.state-card h3,
.state-card h1 {
  margin: 20px 0 0;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.3;
}

.state-card p {
  max-width: 470px;
  margin: 9px 0 22px;
  color: var(--ink-500);
  font-size: 14px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}

.page-numbers {
  display: flex;
  align-items: center;
  gap: 7px;
}

.page-button {
  display: grid;
  min-width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  color: var(--ink-700);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease, border 0.18s ease;
}

.page-button:hover:not(:disabled) {
  border-color: #aebfcb;
  background: var(--blue-100);
  color: var(--navy-900);
}

.page-button[aria-current="page"] {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: white;
}

.page-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.page-direction {
  min-width: 94px;
  padding-inline: 12px;
}

.page-ellipsis {
  display: grid;
  width: 26px;
  place-items: center;
  color: var(--ink-500);
}

.site-footer {
  border-top: 1px solid #d6e0e6;
  background: #edf2f5;
}

.footer-inner {
  display: flex;
  min-height: 135px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner strong {
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.footer-inner p {
  margin: 3px 0 0;
  color: var(--ink-500);
  font-size: 12px;
}

.footer-inner > p {
  text-align: right;
}

/* Detail page */
.detail-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.detail-header {
  min-height: 222px;
}

.detail-nav {
  min-height: 90px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.77);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.18s ease;
}

.back-link:hover {
  color: white;
}

.detail-main {
  position: relative;
  z-index: 2;
  flex: 1;
  margin-top: -72px;
  padding-bottom: 80px;
}

.detail-container {
  max-width: 950px;
}

.detail-card {
  display: grid;
  grid-template-columns: 325px minmax(0, 1fr);
  min-height: 555px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-md);
}

.detail-profile-column {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 51px 40px 45px;
  background:
    radial-gradient(circle at 50% 17%, rgba(255, 255, 255, 0.75), transparent 25%),
    linear-gradient(150deg, #eef4f7, #dde8ef);
}

.detail-photo-wrap {
  position: relative;
  display: grid;
  width: 225px;
  height: 270px;
  overflow: hidden;
  place-items: center;
  border: 7px solid rgba(255, 255, 255, 0.88);
  border-radius: 112px 112px 22px 22px;
  background: #e5edf2;
  box-shadow: 0 20px 40px rgba(11, 47, 79, 0.13);
}

.detail-photo-wrap::before {
  width: 210px;
  height: 210px;
}

.detail-photo {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.detail-avatar span {
  width: 118px;
  height: 118px;
  font-size: 41px;
}

.detail-status {
  margin-top: 26px;
  padding: 7px 15px;
  font-size: 11px;
}

.detail-content {
  padding: 55px 58px 45px;
}

.detail-content h1 {
  margin: 0;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 4vw, 43px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.detail-role {
  margin: 15px 0 0;
  color: var(--ink-700);
  font-size: 16px;
  line-height: 1.6;
}

.detail-divider {
  width: 56px;
  height: 3px;
  margin: 27px 0;
  border-radius: 3px;
  background: var(--gold-500);
}

.detail-list {
  display: grid;
  gap: 7px;
  margin: 0;
}

.detail-list > div {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(150px, 1fr);
  gap: 20px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #edf1f3;
}

.detail-list dt {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-500);
  font-size: 12px;
  font-weight: 650;
}

.detail-list dd {
  margin: 0;
  color: var(--ink-900);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.detail-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: var(--blue-100);
  color: var(--navy-700);
}

.detail-source {
  margin: 24px 0 0;
  color: var(--ink-500);
  font-size: 11px;
  font-style: italic;
}

.detail-loading {
  background: white;
}

.detail-photo-skeleton,
.detail-content-skeleton i,
.detail-content-skeleton span {
  background: linear-gradient(105deg, #e3e9ed 35%, #f4f7f8 48%, #e3e9ed 61%) 0 0 / 220% 100%;
  animation: detail-shimmer 1.45s infinite linear;
}

.detail-photo-skeleton {
  margin: 52px auto;
  width: 225px;
  height: 270px;
  border-radius: 112px 112px 22px 22px;
}

.detail-content-skeleton {
  padding: 70px 58px;
}

.detail-content-skeleton i,
.detail-content-skeleton span {
  display: block;
  height: 16px;
  margin-bottom: 17px;
  border-radius: 6px;
}

.detail-content-skeleton i:first-child {
  width: 28%;
  height: 10px;
}

.detail-content-skeleton i:nth-child(2) {
  width: 76%;
  height: 35px;
}

.detail-content-skeleton i:nth-child(3) {
  width: 56%;
}

.detail-content-skeleton span {
  width: 100%;
  height: 195px;
  margin-top: 50px;
}

@keyframes detail-shimmer {
  to { background-position: -220% 0; }
}

.detail-state {
  min-height: 440px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.detail-footer {
  margin-top: auto;
}

@media (max-width: 1050px) {
  .staff-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filter-grid {
    grid-template-columns: minmax(250px, 1.7fr) 1fr 0.8fr;
  }

  .reset-button {
    width: max-content;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 540px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 48px;
  }

  .hero-stat {
    min-height: 0;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    gap: 15px;
    padding: 18px 22px;
  }

  .hero-stat-value {
    font-size: 42px;
  }

  .hero-stat-label {
    margin: 0;
  }

  .hero-stat-note {
    margin: 0 0 0 auto;
    max-width: 160px;
    text-align: right;
  }

  .control-heading,
  .result-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .control-heading > p {
    max-width: none;
    text-align: left;
  }

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

  .search-field {
    grid-column: 1 / -1;
  }

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

  .detail-card {
    grid-template-columns: 270px minmax(0, 1fr);
  }

  .detail-profile-column {
    padding-inline: 25px;
  }

  .detail-photo-wrap {
    width: 205px;
    height: 248px;
  }

  .detail-content {
    padding: 48px 38px 40px;
  }

  .detail-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .detail-list dd {
    padding-left: 44px;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    min-height: 565px;
    padding-bottom: 90px;
  }

  .brand-row,
  .detail-nav {
    min-height: 76px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy span {
    font-size: 10px;
  }

  .header-label {
    display: none;
  }

  .hero-grid {
    padding-top: 39px;
  }

  .hero-copy h1 {
    font-size: 39px;
  }

  .hero-description {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-stat {
    display: grid;
    grid-template-columns: auto 1fr;
  }

  .hero-stat-note {
    grid-column: 1 / -1;
    margin: 3px 0 0;
    max-width: none;
    text-align: left;
  }

  .main-content {
    margin-top: -45px;
    padding-bottom: 60px;
  }

  .control-panel {
    padding: 25px 20px;
    border-radius: 18px;
  }

  .control-heading h2,
  .result-toolbar h2 {
    font-size: 24px;
  }

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

  .search-field {
    grid-column: auto;
  }

  .reset-button {
    width: 100%;
  }

  .directory-section {
    padding-top: 45px;
  }

  .staff-grid {
    grid-template-columns: 1fr;
  }

  .card-media {
    min-height: 205px;
  }

  .card-body {
    min-height: 290px;
  }

  .pagination {
    flex-wrap: wrap;
    gap: 10px;
  }

  .page-numbers {
    order: -1;
    width: 100%;
    justify-content: center;
  }

  .page-direction {
    min-width: 115px;
  }

  .footer-inner {
    min-height: 150px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 13px;
  }

  .footer-inner > p {
    text-align: left;
  }

  .detail-header {
    min-height: 175px;
  }

  .detail-nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding-block: 16px;
  }

  .back-link {
    margin-left: 53px;
    font-size: 12px;
  }

  .detail-main {
    margin-top: -35px;
    padding-bottom: 55px;
  }

  .detail-card {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .detail-profile-column {
    padding: 35px 25px 31px;
  }

  .detail-photo-wrap {
    width: 200px;
    height: 235px;
  }

  .detail-content {
    padding: 38px 25px 35px;
  }

  .detail-content h1 {
    font-size: 32px;
  }

  .detail-list dd {
    padding-left: 44px;
  }

  .detail-loading {
    display: block;
  }

  .detail-photo-skeleton {
    width: 190px;
    height: 230px;
    margin-block: 35px;
  }

  .detail-content-skeleton {
    padding: 35px 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Directory theme: compact lecturer-list reference */
.directory-page {
  --profile-blue: #0d6fce;
  --profile-blue-dark: #095eaf;
  background: #f4f3f0;
  color: #171717;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}

.directory-page .site-header {
  display: none;
}

.directory-page .container {
  width: min(calc(100% - 42px), 1480px);
}

.directory-page .main-content {
  margin-top: 0;
  padding: 14px 0 68px;
}

.directory-page .control-panel {
  padding: 14px 15px;
  border: 1px solid #dedede;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(35, 38, 42, 0.07);
}

.directory-page .control-heading,
.directory-page .filter-grid > .form-field:not(.search-field) {
  display: none;
}

.directory-page .filter-grid {
  display: grid;
  grid-template-columns: 98px minmax(300px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
}

.directory-page .search-field {
  display: contents;
}

.directory-page .search-field > label {
  margin: 0;
  color: #4c5969;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.directory-page .input-with-icon svg {
  display: none;
}

.directory-page .input-with-icon input {
  height: 50px;
  padding: 0 17px;
  border-color: #d9dde2;
  border-radius: 10px;
  background: #fff;
  color: #222;
  font-family: inherit;
  font-size: 16px;
}

.directory-page .input-with-icon input::placeholder {
  color: #777f89;
  opacity: 1;
}

.directory-page .input-with-icon input:focus {
  border-color: var(--profile-blue);
  box-shadow: 0 0 0 3px rgba(13, 111, 206, 0.13);
}

.directory-page .search-submit-button,
.directory-page .reset-button {
  width: auto;
  height: 50px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
}

.directory-page .search-submit-button {
  border-color: var(--profile-blue);
  background: var(--profile-blue);
  box-shadow: none;
}

.directory-page .search-submit-button:hover {
  background: var(--profile-blue-dark);
}

.directory-page .reset-button {
  border-color: #d9dde2;
  color: #111;
}

.directory-page .reset-button svg {
  display: none;
}

.directory-page .notice {
  margin-top: 18px;
}

.directory-page .directory-section {
  padding-top: 27px;
}

.directory-page .result-toolbar {
  min-height: 23px;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.directory-page .result-toolbar > div {
  display: none;
}

.directory-page .result-summary {
  color: #69717b;
  font-family: inherit;
  font-size: 13px;
}

.directory-page .staff-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.directory-page .staff-card {
  min-height: 352px;
  border-color: #dddfe2;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 9px 27px rgba(30, 33, 37, 0.07);
}

.directory-page .staff-card:hover,
.directory-page .staff-card:focus-visible {
  border-color: #c9d3dc;
  transform: translateY(-3px);
  box-shadow: 0 15px 34px rgba(30, 33, 37, 0.11);
}

.directory-page .reference-card-body {
  min-height: 350px;
  padding: 26px 25px 25px;
}

.directory-page .reference-card-profile {
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 21px;
  align-items: start;
}

.directory-page .reference-card-photo {
  width: 118px;
  height: 118px;
  border: 2px solid #d9dee3;
  background: #edf0f2;
  box-shadow: none;
}

.directory-page .reference-card-photo .avatar-fallback span {
  width: 114px;
  height: 114px;
  border-width: 3px;
  background: #e8edf1;
  color: #34495e;
  font-family: inherit;
  font-size: 30px;
  font-weight: 800;
}

.directory-page .reference-card-identity .staff-name {
  margin: 1px 0 0;
  color: #101010;
  font-family: inherit;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.28;
}

.directory-page .staff-unit {
  min-height: 70px;
  margin-top: 10px;
  color: #515963;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-line-clamp: 3;
}

.directory-page .reference-card-meta {
  margin: 4px 0 17px 139px;
  padding: 0;
  border: 0;
}

.directory-page .reference-card-meta div {
  display: flex;
  gap: 5px;
  align-items: baseline;
}

.directory-page .reference-card-meta dt,
.directory-page .reference-card-meta dd {
  color: #58616d;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  text-align: left;
  text-transform: none;
}

.directory-page .reference-card-meta dt::after {
  content: ":";
}

.directory-page .reference-card-body .card-link-label {
  min-height: 52px;
  margin-top: auto;
  border-radius: 9px;
  background: var(--profile-blue);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
}

.directory-page .staff-card:hover .reference-card-body .card-link-label,
.directory-page .staff-card:focus-visible .reference-card-body .card-link-label {
  background: var(--profile-blue-dark);
}

.directory-page .skeleton-card {
  min-height: 352px;
  border-radius: 11px;
  background:
    linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.7) 50%, transparent 60%) 0 0 / 220% 100%,
    linear-gradient(#e5e6e6 145px, #fff 145px);
}

.directory-page .page-button[aria-current="page"] {
  border-color: var(--profile-blue);
  background: var(--profile-blue);
}

.directory-page .site-footer {
  border-top-color: #dedede;
  background: #ecebe8;
}

.directory-page .footer-inner strong {
  color: #1c1c1c;
  font-family: inherit;
  font-weight: 800;
}

@media (max-width: 1050px) {
  .directory-page .staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .directory-page .container {
    width: min(calc(100% - 28px), 1480px);
  }

  .directory-page .filter-grid {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .directory-page .search-field > label {
    grid-column: 1 / -1;
    margin-bottom: -2px;
  }
}

@media (max-width: 620px) {
  .directory-page .main-content {
    padding-top: 10px;
  }

  .directory-page .control-panel {
    padding: 14px;
  }

  .directory-page .filter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .directory-page .search-field > label,
  .directory-page .input-with-icon {
    grid-column: 1 / -1;
  }

  .directory-page .search-submit-button,
  .directory-page .reset-button {
    width: 100%;
  }

  .directory-page .staff-grid {
    grid-template-columns: 1fr;
  }

  .directory-page .reference-card-profile {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
  }

  .directory-page .reference-card-photo {
    width: 96px;
    height: 96px;
  }

  .directory-page .reference-card-photo .avatar-fallback span {
    width: 92px;
    height: 92px;
    font-size: 26px;
  }

  .directory-page .reference-card-identity .staff-name {
    font-size: 20px;
  }

  .directory-page .staff-unit {
    min-height: 60px;
    font-size: 14px;
  }

  .directory-page .reference-card-meta {
    margin-left: 112px;
  }
}

/* Compact directory density */
.directory-page .main-content {
  padding-top: 10px;
  padding-bottom: 48px;
}

.directory-page .control-panel {
  padding: 10px 12px;
}

.directory-page .input-with-icon input,
.directory-page .search-submit-button,
.directory-page .reset-button {
  height: 44px;
  min-height: 44px;
}

.directory-page .input-with-icon input {
  font-size: 14px;
}

.directory-page .search-submit-button,
.directory-page .reset-button {
  padding-inline: 16px;
  font-size: 14px;
}

.directory-page .directory-section {
  padding-top: 18px;
}

.directory-page .result-toolbar {
  min-height: 18px;
  margin-bottom: 7px;
}

.directory-page .staff-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.directory-page .staff-card {
  min-height: 276px;
  border-radius: 9px;
}

.directory-page .reference-card-body {
  min-height: 274px;
  padding: 18px 18px 17px;
}

.directory-page .reference-card-profile {
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
}

.directory-page .reference-card-photo {
  width: 82px;
  height: 82px;
}

.directory-page .reference-card-photo .avatar-fallback span {
  width: 78px;
  height: 78px;
  font-size: 23px;
}

.directory-page .reference-card-identity .staff-name {
  font-size: 18px;
  line-height: 1.25;
}

.directory-page .staff-unit {
  min-height: 43px;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
}

.directory-page .reference-card-meta {
  margin: 2px 0 12px 96px;
}

.directory-page .reference-card-meta dt,
.directory-page .reference-card-meta dd {
  font-size: 12px;
}

.directory-page .reference-card-body .card-link-label {
  min-height: 42px;
  border-radius: 7px;
  font-size: 14px;
}

.directory-page .skeleton-card {
  min-height: 276px;
  padding: 112px 18px 18px;
}

.directory-page .pagination {
  justify-content: flex-end;
  gap: 12px;
  margin-top: 0;
}

.directory-page .pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 27px;
}

.directory-page .pagination-bar .result-summary {
  margin: 0;
  color: #4f5968;
  font-size: 17px;
  line-height: 1.5;
}

.directory-page .pagination .page-button,
.directory-page .pagination .page-status {
  display: grid;
  height: 52px;
  min-width: 122px;
  padding: 0 16px;
  place-items: center;
  border: 1px solid #dedede;
  border-radius: 11px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.directory-page .pagination .page-button {
  background: #fff;
  color: #111;
}

.directory-page .pagination .page-button:disabled {
  background: rgba(255, 255, 255, 0.75);
  color: #555;
  opacity: 0.55;
}

.directory-page .pagination .page-status {
  min-width: 156px;
  border-color: transparent;
  background: #ebeae7;
  color: #4f5968;
}

.directory-page .footer-inner {
  min-height: 104px;
}

@media (max-width: 1250px) {
  .directory-page .staff-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .directory-page .staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .directory-page .reference-card-meta {
    margin-left: 96px;
  }

  .directory-page .pagination-bar {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .directory-page .pagination {
    flex-wrap: nowrap;
    justify-content: stretch;
  }

  .directory-page .pagination .page-button,
  .directory-page .pagination .page-status {
    min-width: 0;
    padding-inline: 10px;
    flex: 1;
    font-size: 14px;
  }
}

/* Three-by-three directory and iframe presentation */
.directory-page .staff-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.directory-page.iframe-mode {
  background: #fff;
}

.directory-page.iframe-mode .container {
  width: min(calc(100% - 20px), 1480px);
}

.directory-page.iframe-mode .main-content {
  padding-top: 8px;
  padding-bottom: 20px;
}

.directory-page.iframe-mode .control-panel {
  box-shadow: none;
}

.directory-page.iframe-mode .directory-section {
  padding-top: 14px;
}

.directory-page.iframe-mode .site-footer {
  display: none;
}

@media (max-width: 900px) {
  .directory-page .staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* Employee detail: compact two-column profile */
.employee-detail-page {
  display: block;
  min-height: 100vh;
  background: #f4f3f0;
  color: #20242b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.employee-main {
  min-height: 100vh;
  padding: 6px 0 34px;
}

.employee-container {
  width: min(calc(100% - 24px), 1160px);
  margin: 0 auto;
}

.employee-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.employee-sidebar,
.employee-panel,
.employee-error,
.employee-sidebar-skeleton,
.employee-content-skeleton section {
  border: 1px solid #d9dadd;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(28, 32, 38, 0.06);
}

.employee-sidebar {
  display: flex;
  min-width: 0;
  padding: 18px;
  flex-direction: column;
}

.employee-back-link {
  display: inline-flex;
  order: 5;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 39px;
  margin-top: 18px;
  border: 1px solid #dcdde0;
  border-radius: 7px;
  color: #3f4752;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.employee-back-link:hover,
.employee-back-link:focus-visible {
  border-color: #aeb6c0;
  background: #f5f6f7;
  color: #075fae;
}

.employee-photo-wrap {
  position: relative;
  display: grid;
  width: 104px;
  height: 104px;
  overflow: hidden;
  place-items: center;
  margin: 0 auto 17px;
  border: 4px solid #e8e8e5;
  border-radius: 50%;
  background: #e7ecef;
}

.employee-photo {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.employee-avatar span {
  width: 96px;
  height: 96px;
  font-size: 30px;
}

.employee-sidebar h1 {
  margin: 0;
  color: #24272d;
  font-family: inherit;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.employee-department {
  min-height: 55px;
  margin: 6px 0 16px;
  color: #59616d;
  font-size: 12px;
  line-height: 1.52;
}

.employee-quick-facts {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 15px 0 0;
  border-top: 1px solid #e3e3e3;
}

.employee-quick-facts > div {
  padding: 10px 11px;
  border: 1px solid #d9dadd;
  border-radius: 7px;
  background: #fff;
}

.employee-quick-facts dt,
.employee-detail-grid dt {
  margin-bottom: 4px;
  color: #626b77;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.employee-quick-facts dd {
  margin: 0;
  color: #0769c6;
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.employee-content {
  display: grid;
  min-width: 0;
  gap: 20px;
}

.employee-panel {
  padding: 27px 29px 29px;
}

.employee-eyebrow {
  margin: 0 0 2px;
  color: #596371;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.employee-panel h2 {
  margin: 0;
  color: #25282e;
  font-family: inherit;
  font-size: 27px;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.employee-panel-description {
  margin: 7px 0 21px;
  color: #5c6570;
  font-size: 12px;
  line-height: 1.55;
}

.employee-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.employee-detail-grid > div {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #dedfe2;
  border-radius: 8px;
  background: #fbfbfb;
}

.employee-detail-grid .employee-detail-wide {
  grid-column: 1 / -1;
}

.employee-detail-grid dd {
  margin: 0;
  color: #24272d;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.employee-detail-grid > div:nth-child(2) dd,
.employee-detail-grid > div:nth-child(3) dd,
.employee-detail-grid > div:nth-child(4) dd {
  color: #0769c6;
}

.employee-qualification-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.employee-qualification-card {
  display: flex;
  min-width: 0;
  min-height: 142px;
  align-items: flex-start;
  gap: 13px;
  padding: 17px;
  border: 1px solid #dedfe2;
  border-radius: 8px;
  background: #fff;
}

.employee-qualification-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #e8f3fd;
  color: #0870d0;
}

.employee-qualification-icon-green {
  background: #e8f5ef;
  color: #087b47;
}

.employee-qualification-card h3 {
  margin: 3px 0 7px;
  color: #25282e;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.employee-qualification-card p {
  margin: 0;
  color: #5b6470;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.55;
}

.employee-source {
  margin: 17px 0 0;
  color: #7a818a;
  font-size: 10px;
  font-style: italic;
}

.employee-error {
  min-height: 520px;
  place-items: center;
  padding: 54px 28px;
}

.employee-sidebar-skeleton {
  min-height: 525px;
  padding: 22px 18px;
}

.employee-sidebar-skeleton span,
.employee-sidebar-skeleton i,
.employee-sidebar-skeleton b,
.employee-content-skeleton i,
.employee-content-skeleton strong,
.employee-content-skeleton span,
.employee-content-skeleton b {
  display: block;
  border-radius: 7px;
  background: linear-gradient(105deg, #e3e5e7 35%, #f5f6f7 48%, #e3e5e7 61%) 0 0 / 220% 100%;
  animation: detail-shimmer 1.45s infinite linear;
}

.employee-sidebar-skeleton span {
  width: 104px;
  height: 104px;
  margin: 0 auto 22px;
  border-radius: 50%;
}

.employee-sidebar-skeleton i {
  width: 80%;
  height: 16px;
  margin: 0 0 11px;
}

.employee-sidebar-skeleton i + i {
  width: 100%;
  height: 34px;
  margin-bottom: 24px;
}

.employee-sidebar-skeleton b {
  height: 55px;
  margin-top: 8px;
}

.employee-content-skeleton {
  display: grid;
  gap: 20px;
}

.employee-content-skeleton section {
  min-height: 300px;
  padding: 30px;
}

.employee-content-skeleton i {
  width: 25%;
  height: 9px;
  margin-bottom: 8px;
}

.employee-content-skeleton strong {
  width: 48%;
  height: 29px;
  margin-bottom: 9px;
}

.employee-content-skeleton span {
  width: 72%;
  height: 12px;
  margin-bottom: 28px;
}

.employee-content-skeleton b {
  height: 145px;
}

@media (max-width: 900px) {
  .employee-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 14px;
  }

  .employee-content,
  .employee-content-skeleton {
    gap: 14px;
  }

  .employee-panel {
    padding: 23px;
  }
}

@media (max-width: 720px) {
  .employee-main {
    padding-top: 12px;
  }

  .employee-layout {
    grid-template-columns: 1fr;
  }

  .employee-sidebar {
    padding: 22px;
  }

  .employee-department {
    min-height: 0;
  }

  .employee-quick-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .employee-sidebar-skeleton {
    min-height: 420px;
  }
}

@media (max-width: 520px) {
  .employee-container {
    width: min(calc(100% - 20px), 1160px);
  }

  .employee-panel {
    padding: 21px 17px;
  }

  .employee-panel h2 {
    font-size: 24px;
  }

  .employee-detail-grid,
  .employee-qualification-grid,
  .employee-quick-facts {
    grid-template-columns: 1fr;
  }

  .employee-detail-grid .employee-detail-wide {
    grid-column: auto;
  }

  .employee-qualification-card {
    min-height: 0;
  }
}
