.dit-profile-host, .dit-integrated-profile { min-width: 0; max-width: 100%; }
.dit-profile-host:empty { display: none; }
.dit-profile-search .actions input { min-width: min(420px, 100%); }
.dit-profile-heading { align-items: flex-start; }
.dit-profile-statuses { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
.dit-profile-status { min-width: 0; padding: 10px 12px; border: 1px solid #cdd9e8; border-radius: 8px; background: #fff; }
.dit-profile-status strong, .dit-profile-status small { display: block; overflow-wrap: anywhere; }
.dit-profile-status small { margin-top: 4px; color: #66758b; }
.dit-profile-status.done { border-color: #90c8b0; background: #f2fbf7; }
.dit-profile-tabs {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin: 14px 0;
  padding: 6px;
  border: 1px solid #d9e3ee;
  border-radius: 8px;
  background: #eef4fb;
  scrollbar-width: thin;
}
.dit-profile-tabs button {
  flex: 0 0 auto;
  width: auto !important;
  min-width: max-content !important;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 14px;
  background: transparent;
  color: #52647c;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.dit-profile-tabs button:hover { border-color: #c8d8e9; background: #fff; color: #174b8f; }
.dit-profile-tabs button.active {
  border-color: #174b8f;
  background: #174b8f;
  color: #fff;
  box-shadow: 0 4px 12px rgba(23, 75, 143, .18);
}
.dit-profile-tabs button:focus-visible { outline: 3px solid rgba(37, 99, 235, .28); outline-offset: 2px; }
.dit-profile-section[hidden] { display: none !important; }
.dit-profile-section { padding-top: 4px; }
.dit-profile-section h3:not(:first-child) { margin-top: 22px; }
.dit-profile-form { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid #d9e2ec; }
.dit-profile-form textarea { width: 100%; min-height: 132px; resize: vertical; }
.dit-profile-import-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.dit-profile-import-card { height: 100%; min-height: 150px; }
.dit-profile-import-card[aria-disabled="true"] { cursor: wait; opacity: .62; pointer-events: none; }
.dit-profile-import-icon { font-size: 23px; font-weight: 800; line-height: 1; }
.dit-profile-import-card-shell { position: relative; min-width: 0; }
.dit-profile-import-delete {
  position: absolute !important;
  inset: 12px 12px auto auto !important;
  z-index: 5;
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
  inline-size: 36px !important;
  block-size: 36px !important;
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 36px !important;
  align-self: start !important;
  justify-self: end !important;
  aspect-ratio: 1 / 1 !important;
  border: 1px solid #e5b8b1;
  border-radius: 999px !important;
  background: #fff;
  color: #b42318;
  font-size: 0 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}
.dit-profile-import-delete:hover { border-color: #b42318; background: #fff4f2; }
.dit-profile-import-delete:focus-visible { outline: 3px solid rgba(180, 35, 24, .22); outline-offset: 2px; }
.dit-profile-import-delete:disabled { cursor: wait; opacity: .55; }
.dit-profile-import-delete svg {
  display: block !important;
  position: static !important;
  width: 17px !important;
  min-width: 17px !important;
  max-width: 17px !important;
  height: 17px !important;
  min-height: 17px !important;
  max-height: 17px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 17px !important;
  transform: none !important;
}
.dit-profile-import-card-shell > .dit-profile-import-card { padding-right: 62px !important; }
.dit-profile-dashboard { margin-top: 16px; }
.dit-profile-dashboard .panel-head { align-items: center; }
.dit-profile-dashboard-total-card { display: inline-grid; gap: 4px; min-width: 156px; margin: 2px 0 14px; padding: 12px 14px; border: 1px solid #bdd7ca; border-radius: 8px; background: #f2fbf7; color: #41635c; }
.dit-profile-dashboard-total-card strong { color: #174b43; font-size: 25px; }
.dit-profile-dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dit-profile-summary { min-width: 0; padding: 14px; border: 1px solid #d5e1dc; border-radius: 8px; background: #fff; }
.dit-profile-summary h3 { margin: 0 0 10px; font-size: 16px; }
.dit-profile-summary-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.dit-profile-summary-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 8px 10px; border-radius: 6px; background: #f7faf8; }
.dit-profile-summary-list li > span { min-width: 0; overflow-wrap: anywhere; }
.dit-profile-summary-list li > strong { white-space: nowrap; color: #174b43; }
.dit-language-score-dashboard { margin-top: 16px; }
.dit-language-score-total-card { border-color: #c9d8eb; background: #f4f8fd; color: #496682; }
.dit-language-score-total-card strong { color: #174b8f; }
.dit-language-score-table td { vertical-align: middle; }
.dit-language-tabs { display: flex; gap: 24px; border-bottom: 1px solid #cbd5d1; margin: 16px 0; }
.dit-language-tabs button { border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; box-shadow: none; padding: 12px 4px; color: #495b61; min-height: 44px; }
.dit-language-tabs button[aria-selected="true"] { color: #145b63; border-bottom-color: #145b63; font-weight: 700; }
.dit-language-tabs button:focus-visible { outline: 2px solid #145b63; outline-offset: 2px; }
.dit-language-score-table { min-width: 840px; font-variant-numeric: tabular-nums; }
.dit-language-score-table th, .dit-language-score-table td { padding: 6px 12px; white-space: nowrap; }
.dit-language-score-table th:nth-child(n+2), .dit-language-score-table td:nth-child(n+2) { text-align: right; }
.dit-language-score-table th:first-child { min-width: 230px; }
.dit-language-score-table .dit-language-sort, .dit-language-score-table .dit-language-count { min-height: 44px; padding: 6px; border: 0; border-radius: 4px; box-shadow: none; background: transparent; color: inherit; font: inherit; }
.dit-language-score-table .dit-language-sort { font-weight: 600; }
.dit-language-score-table .dit-language-count { min-width: 36px; font-variant-numeric: tabular-nums; }
.dit-language-score-table .dit-language-count:not(:disabled):hover { color: #145b63; text-decoration: underline; text-underline-offset: 4px; }
.dit-language-score-table .dit-language-count:disabled { opacity: 1; color: #667579; }
.dit-language-score-table button:focus-visible, .dit-language-disclosure summary:focus-visible { outline: 2px solid #145b63; outline-offset: 2px; }
.dit-language-count-pair > span { color: #667579; padding: 0 3px; font-weight: 400; }
.dit-language-department-row { font-weight: 600; }
.dit-language-score-table .dit-language-department-row td { border-top: 1px solid #bccac7; }
.dit-language-disclosure { padding: 0; margin: 0; border: 0; background: transparent; }
.dit-language-disclosure summary { padding: 12px 0; min-height: 44px; box-sizing: border-box; cursor: pointer; }
.dit-language-semester-row { background: #f7f8fa; font-size: 14px; }
.dit-language-score-table .dit-language-semester-row td:first-child { padding-left: 36px; color: #53636b; }
.dit-language-semester-row[hidden] { display: none; }
.dit-language-students-dialog { width: min(900px, calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: 85dvh; box-sizing: border-box; padding: 24px; border: 1px solid #cbd5d1; border-radius: 8px; background: #fff; color: #203b43; overflow: auto; }
.dit-language-students-dialog::backdrop { background: rgb(18 35 42 / 40%); }
.dit-language-students-dialog .panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.dit-language-students-dialog h2 { font-size: 20px; line-height: 1.5; overflow-wrap: anywhere; }
.dit-language-students-dialog .panel-head button { flex-shrink: 0; min-height: 44px; }
.dit-language-students-dialog table { min-width: 580px; }
.dit-language-students-dialog th, .dit-language-students-dialog td { white-space: nowrap !important; overflow-wrap: normal; word-break: normal; }
@media (max-width: 600px) { .dit-language-students-dialog { padding: 16px; } .dit-language-students-dialog h2 { font-size: 17px; } }
.dit-language-score-table .is-zero { color: #667579; }
.dit-language-score-levels { display: flex; flex-wrap: wrap; gap: 6px; }
.dit-language-score-level { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 9px; border: 1px solid #c9d8eb; border-radius: 999px; background: #f4f8fd; color: #174b8f; font-weight: 700; white-space: nowrap; }
.dit-profile-author { margin: -4px 0 14px; }
.dit-profile-note-form { width: 100%; }
.dit-profile-note-field { display: grid; width: 100%; gap: 7px; }
.dit-profile-note-form textarea { min-height: 190px; }
.dit-profile-note-actions { width: 100%; justify-content: flex-end; align-items: flex-end; margin-top: 12px; }
.dit-profile-visibility-field { display: grid; grid-template-rows: auto 46px; gap: 6px; min-width: 220px; min-height: 0; }
.dit-profile-note-actions > .dit-profile-visibility-field > select,
.dit-profile-note-actions > .primary {
  box-sizing: border-box;
  height: 46px;
  min-height: 46px;
}
.dit-profile-note-actions > .primary { align-self: flex-end; }
.dit-profile-name-link { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dit-integrated-profile .form-grid > label > .dit-profile-phone-link { display: flex; align-items: center; min-height: 42px; box-sizing: border-box; padding: 10px 12px; border: 1px solid #cdd9e8; border-radius: 8px; background: #f7f9fc; color: #174b8f; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.dit-integrated-profile .form-grid > label > .dit-profile-phone-link:hover, .dit-integrated-profile .form-grid > label > .dit-profile-phone-link:focus-visible { border-color: #86acd7; background: #edf6ff; color: #0f3b72; }
.dit-profile-actions { margin-top: 10px; }
.dit-integrated-profile a.table-view-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
@media (max-width: 760px) {
  .dit-profile-import-grid { grid-template-columns: 1fr; }
  .dit-profile-import-card { min-height: 132px; }
  .dit-profile-dashboard .panel-head { align-items: flex-start; }
  .dit-profile-dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .dit-profile-summary { padding: 10px; }
  .dit-profile-summary-list li { gap: 6px; padding: 7px 8px; }
  .dit-profile-summary-list li > strong { font-size: 13px; }
  .dit-language-score-level { min-height: 26px; padding-inline: 8px; font-size: 13px; }
  .dit-profile-statuses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dit-profile-search .actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .dit-profile-search .actions input { min-width: 0; width: 100%; }
  .dit-profile-search .table-wrap table, .dit-profile-section .table-wrap table { min-width: 680px; }
  .dit-profile-search td:nth-child(2) { min-width: 170px; overflow-wrap: normal; word-break: keep-all; }
  .dit-profile-tabs { margin-inline: -2px; }
  .dit-profile-tabs button { min-height: 38px; padding-inline: 12px; font-size: 13px; }
  .dit-profile-note-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .dit-profile-visibility-field { min-width: 0; }
}
