.im-ui {
  color: #1f4754;
  font-family: inherit;
}
.im-toolbar {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.im-field {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  min-width: 0;
}
.im-field input,
.im-field select {
  font: inherit;
  font-size: 14px;
  border: 1px solid #d5e3e5;
  border-radius: 9px;
  background: #fff;
  color: #1f4754;
  padding: 11px;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}
.im-toolbar .im-field:first-child {
  flex: 1;
  min-width: 180px;
}
.im-button {
  font: inherit;
  border: 1px solid #d8e6e7;
  border-radius: 9px;
  background: #fff;
  color: #1f4754;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
  cursor: pointer;
}
.im-button:hover {
  background: #e9f5f3;
}
.im-button:disabled {
  opacity: 0.5;
  cursor: default;
}
.im-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e0ebec;
  padding: 22px;
  margin-bottom: 20px;
}
.im-form {
  display: grid;
  gap: 15px;
  max-width: 740px;
}
.im-form h3 {
  margin: 0;
}
.im-form .im-button {
  justify-self: start;
}
.im-profile-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.im-profile-image {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  background: #e7f3f1;
}
.im-profile-head h2 {
  font-size: 21px;
  margin: 0;
}
.im-status {
  padding: 12px 15px;
  border-radius: 10px;
  background: #e2f4f1;
  color: #175a53;
  line-height: 1.5;
}
.im-muted {
  color: #708994;
  font-size: 12px;
  line-height: 1.6;
}
.im-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.im-metrics > div {
  display: grid;
  gap: 8px;
  background: #fff;
  border-radius: 12px;
  padding: 18px;
}
.im-metrics span {
  font-size: 12px;
  color: #708994;
}
.im-metrics strong {
  font-size: 26px;
}
.im-table-frame {
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e0ebec;
}
.im-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.im-table th {
  font-size: 12px;
  font-weight: 800;
  color: #617e75;
  padding: 17px 15px;
  background: #fbfdfd;
}
.im-table td {
  font-size: 14px;
  padding: 16px 15px;
  border-top: 1px solid #e6efef;
  line-height: 1.5;
}
.im-table td:first-child {
  min-width: 150px;
}
.im-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.im-pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 15px;
}
.im-pagination span {
  margin-right: auto;
  color: #708994;
  font-size: 12px;
}
.im-student-picker {
  display: grid;
  gap: 4px;
  max-height: 400px;
  overflow: auto;
}
.im-student-row {
  font: inherit;
  padding: 12px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #e3eeee;
  background: #fff;
  color: #1f4754;
  cursor: pointer;
}
.im-student-row:hover {
  background: #eef8f6;
}
@media (max-width: 600px) {
  .im-card {
    padding: 16px;
  }
  .im-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .im-toolbar {
    gap: 9px;
  }
  .im-toolbar > .im-field {
    flex: 1;
    min-width: 120px;
  }
  .im-pagination {
    flex-wrap: wrap;
  }
  .im-profile-head {
    gap: 12px;
  }
  .im-profile-image {
    width: 70px;
    height: 70px;
  }
  .im-table td,
  .im-table th {
    padding: 12px;
  }
}
