.employee-name-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--blue2);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

.employee-name-link:hover,
.employee-name-link:focus-visible {
  text-decoration-color: currentColor;
}

#employee-dialog {
  width: min(920px, 94vw);
}

.employee-profile-header {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
  align-items: center;
  margin: -4px 0 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(135deg, #edf4fa, var(--white));
}

.employee-photo-preview {
  width: 112px;
  height: 132px;
  overflow: hidden;
  border: 3px solid var(--white);
  border-radius: 10px;
  background: #dce8f2;
  box-shadow: 0 3px 12px #17324d22;
}

.employee-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.employee-photo-preview span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 30px;
  font-weight: 700;
}

.employee-profile-copy h3 {
  margin: 0 0 3px;
  font-size: 23px;
}
.employee-profile-name { display:block; border:0; padding:0; margin:0 0 3px; background:transparent; color:var(--blue); font:inherit; font-size:23px; font-weight:700; text-align:left; cursor:pointer; }
.employee-profile-name:hover,.employee-profile-name:focus-visible { text-decoration:underline; text-underline-offset:4px; }
.employee-profile-contact { display:block; margin:-5px 0 10px; }

.employee-profile-copy p {
  margin-bottom: 10px;
  color: var(--muted);
}

.employee-profile-copy .eyebrow {
  margin-bottom: 2px;
  color: var(--blue2);
}

:root[data-theme=dark] .employee-profile-header {
  background: linear-gradient(135deg, #243849, var(--white));
}

@media (max-width: 640px) {
  .employee-profile-header {
    grid-template-columns: 82px 1fr;
  }

  .employee-photo-preview {
    width: 82px;
    height: 100px;
  }
}
