.person-detail-page .page-shell-kicker a { color: inherit; text-decoration: none; }
.person-detail-page .page-shell-kicker a:hover,
.person-detail-page .page-shell-kicker a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.staff-detail__directory-switch { width: min(calc(100% - 32px), 1290px); margin: 28px auto 0; }
.staff-detail__directory-switch + .staff-detail { margin-top: 16px; }
.staff-detail { width: min(calc(100% - 32px), 1290px); margin: 28px auto 0; color: #14233a; font-family: "Noto Sans", sans-serif; }
.staff-detail__layout { display: grid; grid-template-columns: minmax(300px, 390px) minmax(0, 1fr); gap: 24px; align-items: start; }
.staff-detail__profile,
.staff-detail__panel { background: #fff; border: 1px solid #d4e0eb; border-radius: 8px; box-shadow: 0 12px 30px rgba(20, 35, 58, .07); }
.staff-detail__profile { display: grid; gap: 18px; padding: 24px; }
.staff-detail__photo { display: block; width: 100%; /*height: auto;*/ aspect-ratio: 1; object-fit: cover; border: 1px solid #d4e0eb; border-radius: 8px; background: #eef5f8; }
.staff-detail__identity { padding-bottom: 16px; border-bottom: 1px solid #dce6ee; text-align: center; }
.staff-detail__eyebrow { margin: 0 0 5px; color: #0b5b7f; font-size: 1rem; font-weight: 800; }
.staff-detail__name { margin: 0; color: #073d52; font-size: clamp(1.45rem, 3vw, 1.5rem); line-height: 1.2; }
.staff-detail__role { margin: 9px 0 0; color: #34465d; font-size: 1.08rem; font-weight: 750; }
.staff-detail__meta { display: grid; gap: 9px; margin: 0; }
.staff-detail__meta div { display: flex; justify-content: space-between; gap: 16px; }
.staff-detail__meta dt { color: #4b5d73; font-weight: 700; }
.staff-detail__meta dd { margin: 0; font-weight: 700; }
.staff-detail__meta a { color: #07567b; }
.staff-detail__email,
.staff-detail__document-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 15px; color: #fff; background: #0b5b7f; border: 1px solid #0b5b7f; border-radius: 6px; font-weight: 800; text-decoration: none; }
.staff-detail__email:hover,
.staff-detail__email:focus-visible,
.staff-detail__document-link:hover,
.staff-detail__document-link:focus-visible { color: #fff; background: #004768; }
.staff-detail__stack { display: grid; gap: 24px; }
.staff-detail__panel { padding: 26px; }
.staff-detail__panel h2 { margin: 0 0 19px; color: #073d52; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.staff-detail__org-card { overflow: hidden; background: linear-gradient(135deg, #fff 0%, #f1f8fb 100%); }
.staff-detail__org-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.staff-detail__org-header h2 { margin: 0; }
.staff-detail__org-header span { padding: 6px 10px; color: #063f5d; background: #e3f0f6; border: 1px solid #b7d4e2; border-radius: 999px; font-size: .8rem; font-weight: 800; }
.staff-detail__org-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.staff-detail__org-list div { min-width: 0; padding: 15px; background: rgba(255,255,255,.86); border: 1px solid #cfdeea; border-radius: 7px; }
.staff-detail__org-list dt { margin-bottom: 6px; color: #52657a; font-size: .8rem; font-weight: 800; }
.staff-detail__org-list dd { margin: 0; color: #102c43; font-weight: 750; overflow-wrap: anywhere; }
.staff-detail__unit-link { color: #07567b; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.staff-detail__unit-link:hover,
.staff-detail__unit-link:focus-visible { color: #004768; text-decoration-thickness: 2px; }
.staff-detail__vice-rector { margin: 0 0 18px; padding: 13px 16px; color: #073d52; background: #e3f0f6; border: 1px solid #b7d4e2; border-left: 5px solid #0b5b7f; border-radius: 7px; font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 850; }
.staff-detail__quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.staff-detail__quick--administrative { grid-template-columns: minmax(240px, 1fr); }
.staff-detail__quick-link { display: flex; flex-direction: column; min-height: 102px; padding: 16px; color: #083e59; background: #f6fafc; border: 1px solid #c8dbe7; border-left: 4px solid #0b6b8e; border-radius: 7px; text-decoration: none; }
.staff-detail__quick-link strong { font-size: 1rem; }
.staff-detail__quick-link span { margin-top: 7px; color: #53657a; font-size: .84rem; line-height: 1.4; }
.staff-detail__quick-link[href]:hover,
.staff-detail__quick-link[href]:focus-visible { background: #eaf5fa; border-color: #0b5b7f; }
.staff-detail__quick-link.is-disabled { color: #842029; background: #fff1f0; border-color: #d99a94; border-left-color: #842029; cursor: not-allowed; }
.staff-detail__quick-link.is-disabled span { color: #842029; }
.staff-detail__notice,
.staff-detail__alert { padding: 14px 16px; color: #5c3600; background: #fff5d9; border: 1px solid #d5a72f; border-radius: 7px; font-weight: 700; }
.staff-detail__alert { margin-bottom: 20px; }
.staff-detail__assignments { margin-top: 24px; }
.staff-detail__empty { margin: 0; color: #52657a; }
.staff-detail__table-wrap { overflow-x: auto; }
.staff-detail__table { width: 100%; border-collapse: collapse; }
.staff-detail__table th,
.staff-detail__table td { padding: 13px 14px; border-bottom: 1px solid #dbe5ec; text-align: left; vertical-align: middle; }
.staff-detail__table th { color: #fff; background: #07567b; font-size: .88rem; }
.staff-detail__table th:nth-child(3),
.staff-detail__table td:nth-child(3) { text-align: right; }
.staff-detail__table td:nth-child(3) > * { justify-self: end; }
.staff-detail__table tr.is-staff-unit td { background: #f0f8fb; }
.staff-detail__document-link { min-height: 38px; padding: 7px 11px; font-size: .82rem; }
.staff-detail__document-missing { display: inline-block; padding: 8px 10px; color: #842029; background: #fff1f0; border: 1px solid #d99a94; border-left: 4px solid #842029; border-radius: 5px; font-size: .85rem; font-weight: 700; line-height: 1.4; }
.staff-detail :focus-visible { outline: 3px solid #f6c343; outline-offset: 3px; }
@media (max-width: 920px) {
  .staff-detail__layout { grid-template-columns: 1fr; }
  .staff-detail__profile { grid-template-columns: 150px minmax(0, 1fr); align-items: start; }
  .staff-detail__photo { grid-row: span 3; }
  .staff-detail__identity { text-align: left; }
  .staff-detail__email { justify-self: start; }
}
@media (max-width: 700px) {
  .staff-detail__org-list,
  .staff-detail__quick { grid-template-columns: 1fr; }
  .staff-detail__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .staff-detail__table,
  .staff-detail__table tbody,
  .staff-detail__table tr,
  .staff-detail__table td { display: block; width: 100%; }
  .staff-detail__table tr { padding: 10px 0; border-bottom: 1px solid #cbd9e3; }
  .staff-detail__table td { display: grid; grid-template-columns: minmax(110px, 35%) 1fr; gap: 10px; border: 0; }
  .staff-detail__table td::before { content: attr(data-label); color: #52657a; font-weight: 800; }
}
@media (max-width: 520px) {
  .staff-detail { width: min(calc(100% - 20px), 1290px); }
  .staff-detail__directory-switch { width: min(calc(100% - 20px), 1290px); }
  .staff-detail__profile { grid-template-columns: 1fr; padding: 18px; }
  .staff-detail__photo { grid-row: auto; }
  .staff-detail__identity { text-align: center; }
  .staff-detail__email { width: 100%; }
  .staff-detail__panel { padding: 19px; }
  .staff-detail__org-header { align-items: flex-start; flex-direction: column; }
}
