.training-module {
  min-width: 0;
  color: #18262c;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.training-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.training-date-range,
.training-department-filter,
.training-search {
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid #dce6e4;
  border-radius: 10px;
  background: #fff;
  color: #52636b;
}

.training-date-range {
  gap: 7px;
  padding: 0 11px;
}

.training-date-range > svg,
.training-search > svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: #607179;
}

.training-date-range label,
.training-department-filter,
.training-search {
  position: relative;
}

.training-date-range label > span,
.training-department-filter > span,
.training-search > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.training-date-range input,
.training-department-filter select,
.training-search input {
  min-height: 40px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #263740;
  font: inherit;
  font-size: 13px;
}

.training-date-range input {
  width: 124px;
  padding: 0 4px;
}

.training-department-filter select {
  min-width: 156px;
  padding: 0 34px 0 14px;
}

.training-search {
  flex: 1 1 260px;
  max-width: 360px;
  padding: 0 12px;
}

.training-search:focus-within,
.training-date-range:focus-within,
.training-department-filter:focus-within {
  border-color: #78b8b1;
  box-shadow: 0 0 0 3px rgba(19, 134, 123, 0.1);
}

.training-search input {
  width: 100%;
  padding: 0 0 0 9px;
}

.training-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid #dfe8e7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(32, 69, 65, 0.045);
}

.training-metric {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  min-height: 118px;
  padding: 22px 24px;
  border-right: 1px solid #e5eceb;
}

.training-metric:last-child {
  border-right: 0;
}

.training-metric-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #eaf5f3;
  color: #168178;
}

.training-metric-icon svg {
  width: 22px;
  height: 22px;
}

.training-metric.warning .training-metric-icon {
  background: #fff1e7;
  color: #ef7b17;
}

.training-metric small {
  display: block;
  margin-bottom: 6px;
  color: #52636b;
  font-size: 13px;
  font-weight: 700;
}

.training-metric strong {
  color: #18262c;
  font-size: clamp(28px, 2.3vw, 38px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.training-metric strong em {
  margin-left: 5px;
  color: #53656d;
  font-size: 13px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0;
}

.training-metric.warning strong {
  color: #ed7410;
}

.training-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 360px);
  align-items: stretch;
  gap: 16px;
}

.training-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe8e7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(32, 69, 65, 0.045);
}

.training-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 16px 20px;
  border-bottom: 1px solid #e5eceb;
}

.training-panel-head h2,
.training-detail-head h2,
.training-section-title h3,
.training-form-section-head h3 {
  margin: 0;
  color: #18262c;
}

.training-panel-head h2 {
  font-size: 18px;
}

.training-panel-head p,
.training-form-section-head p {
  margin: 4px 0 0;
  color: #7a898f;
  font-size: 12px;
  line-height: 1.45;
}

.training-status-tabs {
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid #dbe5e3;
  border-radius: 9px;
  background: #f7faf9;
}

.training-status-tabs button {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #607179;
  font-size: 12px;
  font-weight: 700;
}

.training-status-tabs button.active {
  background: #fff;
  color: #0f786f;
  box-shadow: 0 2px 8px rgba(34, 57, 62, 0.08);
}

.training-table-wrap {
  min-height: 420px;
  overflow-x: hidden;
  overflow-y: auto;
}

.training-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.training-table th,
.training-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #e8eeee;
  text-align: left;
  vertical-align: middle;
}

.training-table th {
  background: #fbfcfc;
  color: #6e7e85;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.training-table th:first-child {
  width: 29%;
  padding-left: 20px;
}

.training-table th:nth-child(2) {
  width: 18%;
}

.training-table th:nth-child(3) {
  width: 14%;
}

.training-table th:nth-child(4) {
  width: 10%;
}

.training-table th:nth-child(5) {
  width: 14%;
}

.training-table th:nth-child(6) {
  width: 11%;
}

.training-table th:last-child {
  width: 4%;
}

.training-table td {
  height: 84px;
  overflow: hidden;
  color: #33454d;
  font-size: 12px;
  text-overflow: ellipsis;
}

.training-table td:nth-child(4) {
  white-space: nowrap;
}

.training-table td:first-child {
  padding-left: 20px;
}

.training-plan-row {
  cursor: pointer;
  transition: background 0.16s ease;
}

.training-plan-row:hover {
  background: #f7fbfa;
}

.training-plan-row.selected {
  background: #eef7f5;
  box-shadow: 3px 0 0 #13867b inset;
}

.training-title-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.training-category-icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eaf5f3;
  color: #168178;
}

.training-category-icon.safety {
  background: #fff0ee;
  color: #e85f52;
}

.training-category-icon.product {
  background: #f1effb;
  color: #7255b4;
}

.training-category-icon.service {
  background: #eef6fc;
  color: #3786c8;
}

.training-category-icon svg {
  width: 18px;
  height: 18px;
}

.training-title-cell div,
.training-time-cell,
.training-department-cell {
  min-width: 0;
}

.training-title-cell strong,
.training-time-cell strong {
  display: block;
  overflow: hidden;
  color: #203138;
  font-size: 13px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.training-title-cell span,
.training-time-cell span,
.training-department-cell span {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: #839097;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.training-department-cell strong {
  display: block;
  overflow: hidden;
  color: #53656d;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.training-attendance-cell {
  display: grid;
  gap: 6px;
}

.training-attendance-cell > span:first-child {
  color: #30434b;
  font-weight: 700;
}

.training-mini-progress {
  display: flex;
  align-items: center;
  gap: 7px;
}

.training-mini-progress i {
  display: block;
  width: 52px;
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: #e4ecea;
}

.training-mini-progress i span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #148177;
}

.training-mini-progress em {
  color: #168177;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
}

.training-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #cfe4e1;
  border-radius: 7px;
  background: #eef7f5;
  color: #147a71;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.training-status.completed,
.training-status.archived {
  border-color: #d7e7d9;
  background: #f0f8f1;
  color: #3f8850;
}

.training-status.draft {
  border-color: #e3e8e7;
  background: #f6f8f8;
  color: #75838a;
}

.training-row-arrow {
  width: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #839097;
}

.training-row-arrow svg {
  width: 16px;
  height: 16px;
}

.training-empty {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 420px;
  padding: 40px 20px;
  text-align: center;
}

.training-empty.hidden {
  display: none;
}

.training-empty-icon,
.training-detail-empty > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #edf6f4;
  color: #168177;
}

.training-empty h3,
.training-detail-empty h3 {
  margin: 0;
  color: #33454d;
  font-size: 16px;
}

.training-empty p,
.training-detail-empty p {
  margin: 7px 0 18px;
  color: #819096;
  font-size: 12px;
}

.training-list-footer {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 20px;
  border-top: 1px solid #e7edec;
  color: #687980;
  font-size: 12px;
}

.training-detail-panel {
  min-height: 548px;
}

.training-detail-empty {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 548px;
  padding: 30px;
  text-align: center;
}

.training-detail-content {
  display: flex;
  flex-direction: column;
  min-height: 548px;
}

.training-detail-content.hidden {
  display: none;
}

.training-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid #e5eceb;
}

.training-detail-head > div > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.training-detail-head h2 {
  font-size: 18px;
  line-height: 1.35;
}

.training-detail-meta {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px 12px;
  margin: 0;
  padding: 18px 20px;
  border-bottom: 1px solid #e5eceb;
  font-size: 12px;
}

.training-detail-meta dt {
  color: #7c8a91;
}

.training-detail-meta dd {
  min-width: 0;
  margin: 0;
  color: #34464e;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.training-progress-section,
.training-participant-section,
.training-material-section {
  padding: 18px 20px;
  border-bottom: 1px solid #e5eceb;
}

.training-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.training-section-title h3 {
  font-size: 14px;
}

.training-section-title strong {
  color: #137a71;
  font-size: 13px;
}

.training-section-title > span {
  color: #7b898f;
  font-size: 11px;
}

.training-progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #e4ecea;
}

.training-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #148177;
  transition: width 0.2s ease;
}

.training-progress-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: #75858c;
  font-size: 11px;
}

.training-participant-list {
  display: grid;
  gap: 2px;
  max-height: 190px;
  overflow: auto;
}

.training-person-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
}

.training-person-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #edf3f2;
  color: #607179;
  font-size: 11px;
  font-weight: 800;
}

.training-person-row strong,
.training-person-row span {
  display: block;
}

.training-person-row strong {
  color: #33454d;
  font-size: 12px;
}

.training-person-row span {
  margin-top: 2px;
  color: #849198;
  font-size: 10px;
}

.training-person-state {
  color: #75858c;
  font-size: 10px;
  font-weight: 700;
}

.training-person-state.attended {
  color: #19806b;
}

.training-person-state.absent,
.training-person-state.failed {
  color: #d95f55;
}

.training-material-list,
.training-upload-list {
  display: grid;
  gap: 8px;
}

.training-material-item,
.training-upload-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #e1e9e8;
  border-radius: 9px;
  background: #f9fbfb;
}

.training-material-item svg,
.training-upload-item svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: #168177;
}

.training-material-item a,
.training-upload-item span {
  min-width: 0;
  overflow: hidden;
  color: #40525a;
  font-size: 11px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.training-upload-item span {
  flex: 1;
}

.training-upload-item button {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c15b52;
}

.training-detail-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding: 16px 20px;
}

.training-detail-actions .btn {
  flex: 1;
}

.training-plan-dialog {
  width: min(1040px, calc(100vw - 32px));
  max-height: min(92vh, 900px);
}

.training-results-dialog {
  width: min(880px, calc(100vw - 24px));
  max-height: min(90vh, 820px);
}

.training-plan-dialog > form,
.training-results-dialog > form {
  display: flex;
  flex-direction: column;
  max-height: inherit;
}

.training-dialog-scroll {
  min-height: 0;
  overflow: auto;
  padding: 24px 26px 30px;
}

.training-plan-dialog .dialog-actions,
.training-results-dialog .dialog-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  padding: 13px 20px;
  border-top: 1px solid #e1e9e8;
  background: #f8fbfa;
}

.training-plan-dialog .dialog-actions .btn,
.training-results-dialog .dialog-actions .btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 104px;
}

.training-plan-dialog .dialog-actions .btn.primary {
  min-width: 172px;
}

.training-results-dialog .dialog-actions .btn.primary {
  min-width: 132px;
}

.training-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.training-span-2 {
  grid-column: span 2;
}

.training-form-section {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid #e1e9e8;
  border-radius: 12px;
  background: #fbfcfc;
}

.training-form-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.training-form-section-head h3 {
  font-size: 14px;
}

.training-form-section-head > strong,
.training-form-section-tools > strong {
  color: #147a71;
  font-size: 12px;
  white-space: nowrap;
}

.training-department-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(145px, 1fr));
  gap: 10px;
}

.training-department-option,
.training-participant-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #dde7e5;
  border-radius: 10px;
  background: #fff;
  color: #485a62;
  cursor: pointer;
}

.training-department-option:has(input:checked),
.training-participant-option:has(input:checked) {
  border-color: #79b9b2;
  background: #eef7f5;
  color: #126f67;
}

.training-department-option input,
.training-participant-option input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  accent-color: #13867b;
}

.training-department-option span,
.training-participant-option span {
  min-width: 0;
  overflow: visible;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
}

.training-form-section-tools {
  display: grid;
  justify-items: end;
  gap: 9px;
}

.training-roster-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.training-roster-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #cfdcda;
  border-radius: 8px;
  background: #fff;
  color: #41545c;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.training-roster-button.primary {
  border-color: #168a7e;
  background: #168a7e;
  color: #fff;
}

.training-roster-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.training-roster-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.training-roster-status {
  margin: -4px 0 14px;
  padding: 10px 12px;
  border: 1px solid #cfe4e1;
  border-radius: 8px;
  background: #f0f8f6;
  color: #246a64;
  font-size: 11px;
  line-height: 1.55;
}

.training-participant-picker {
  display: grid;
  gap: 12px;
  max-height: 320px;
  overflow: auto;
}

.training-participant-group {
  border: 1px solid #e0e8e7;
  border-radius: 10px;
  overflow: hidden;
}

.training-participant-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding: 0 12px;
  background: #f7faf9;
  color: #43555d;
  font-size: 11px;
  font-weight: 750;
}

.training-participant-group-head button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #147a71;
  font-size: 10px;
  font-weight: 750;
}

.training-participant-group-body {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
}

.training-participant-option {
  min-height: 40px;
  padding: 8px 10px;
}

.training-upload-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  border: 1px dashed #9cc8c3;
  border-radius: 10px;
  background: #f8fbfa;
  color: #147a71;
  cursor: pointer;
}

.training-upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.training-upload-list {
  margin-top: 10px;
}

.training-results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.training-results-toolbar > span {
  color: #73838a;
  font-size: 11px;
}

.training-results-list {
  display: grid;
  gap: 8px;
}

.training-result-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.2fr) minmax(120px, 0.8fr) 100px 110px minmax(140px, 1fr);
  align-items: end;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e0e8e7;
  border-radius: 10px;
  background: #fff;
}

.training-result-person {
  align-self: center;
  min-width: 0;
}

.training-result-person strong,
.training-result-person span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.training-result-person strong {
  color: #30424a;
  font-size: 12px;
}

.training-result-person span {
  margin-top: 4px;
  color: #829097;
  font-size: 10px;
}

.training-result-row label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.training-result-row label > span {
  color: #73838a;
  font-size: 10px;
  font-weight: 700;
}

.training-result-row select,
.training-result-row input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #d9e4e2;
  border-radius: 8px;
  background: #fff;
  color: #30424a;
  font: inherit;
  font-size: 11px;
  padding: 0 9px;
}

.training-result-row input:focus,
.training-result-row select:focus {
  border-color: #78b8b1;
  outline: 3px solid rgba(19, 134, 123, 0.09);
}

@media (max-width: 1180px) {
  .training-overview-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .training-metric {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
  }

  .training-metric-icon {
    width: 44px;
    height: 44px;
  }

  .training-table th:nth-child(4),
  .training-table td:nth-child(4) {
    display: none;
  }
}

@media (max-width: 940px) {
  .training-toolbar {
    flex-wrap: wrap;
  }

  .training-search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }

  .training-overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .training-detail-panel,
  .training-detail-empty,
  .training-detail-content {
    min-height: 0;
  }

  .training-participant-list {
    max-height: 240px;
  }

  .training-result-row {
    grid-template-columns: minmax(140px, 1fr) repeat(3, minmax(100px, 0.7fr));
  }

  .training-result-row label:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 760px) {
  .training-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .training-metric:nth-child(2) {
    border-right: 0;
  }

  .training-metric:nth-child(-n + 2) {
    border-bottom: 1px solid #e5eceb;
  }

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

  .training-participant-group-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .training-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .training-span-2 {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .sidebar-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #trainingNewTopBtn span {
    display: none;
  }

  #trainingNewTopBtn {
    width: 38px;
    padding: 0 !important;
  }

  .training-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .training-date-range {
    justify-content: space-between;
  }

  .training-date-range input {
    width: 112px;
  }

  .training-department-filter select,
  .training-search {
    width: 100%;
    max-width: none;
  }

  .training-metric-grid {
    margin-bottom: 12px;
    border-radius: 12px;
  }

  .training-metric {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    min-height: 88px;
    padding: 13px;
  }

  .training-metric-icon {
    width: 38px;
    height: 38px;
  }

  .training-metric-icon svg {
    width: 18px;
    height: 18px;
  }

  .training-metric strong {
    font-size: 24px;
  }

  .training-panel-head {
    align-items: stretch;
    flex-direction: column;
    min-height: 0;
    padding: 14px;
  }

  .training-status-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .training-table-wrap {
    min-height: 0;
    overflow: visible;
  }

  .training-table,
  .training-table tbody,
  .training-table tr,
  .training-table td {
    display: block;
    width: 100%;
  }

  .training-table thead {
    display: none;
  }

  .training-table tr {
    position: relative;
    padding: 14px;
    border-bottom: 1px solid #e5eceb;
  }

  .training-table td {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    height: auto;
    padding: 6px 0;
    border: 0;
  }

  .training-table td:first-child {
    display: block;
    padding: 0 34px 10px 0;
  }

  .training-table td:nth-child(4) {
    display: none;
  }

  .training-table td:nth-child(6) .training-status {
    justify-self: start;
    width: auto;
    min-width: 68px;
  }

  .training-table td::before {
    color: #7a898f;
    content: attr(data-label);
    font-size: 10px;
    font-weight: 700;
  }

  .training-table td:first-child::before,
  .training-table td:last-child::before {
    display: none;
  }

  .training-table td:last-child {
    position: absolute;
    top: 17px;
    right: 10px;
    width: 30px;
    padding: 0;
  }

  .training-title-cell strong,
  .training-time-cell strong,
  .training-title-cell span,
  .training-time-cell span,
  .training-department-cell strong,
  .training-department-cell span {
    white-space: normal;
  }

  .training-category-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .training-list-footer {
    min-height: 46px;
    padding: 0 14px;
  }

  .training-detail-panel {
    border-radius: 12px;
  }

  .training-detail-head,
  .training-detail-meta,
  .training-progress-section,
  .training-participant-section,
  .training-material-section,
  .training-detail-actions {
    padding-left: 14px;
    padding-right: 14px;
  }

  .training-plan-dialog,
  .training-results-dialog {
    width: 100%;
    max-width: none;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }

  .training-plan-dialog > form,
  .training-results-dialog > form {
    width: 100%;
    min-width: 0;
    height: 100dvh;
    max-height: 100dvh;
  }

  .training-plan-dialog .dialog-head,
  .training-results-dialog .dialog-head {
    padding: 12px 14px;
  }

  .training-plan-dialog .dialog-head .eyebrow,
  .training-plan-dialog .dialog-context,
  .training-results-dialog .dialog-head .eyebrow {
    display: none;
  }

  .training-dialog-scroll {
    padding: 14px;
  }

  .training-form-section {
    margin-top: 18px;
    padding: 14px;
  }

  .training-department-picker,
  .training-participant-group-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .training-form-section-head,
  .training-results-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .training-form-section-tools {
    width: 100%;
    justify-items: start;
  }

  .training-roster-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .training-roster-button {
    width: 100%;
  }

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

  .training-result-person {
    grid-column: 1 / -1;
  }

  .training-result-row label:last-child {
    grid-column: 1 / -1;
  }

  .training-plan-dialog .dialog-actions,
  .training-results-dialog .dialog-actions {
    display: grid;
    grid-template-columns: minmax(96px, 0.72fr) minmax(152px, 1.28fr);
    padding: 10px 12px max(10px, env(safe-area-inset-bottom));
  }

  .training-plan-dialog .dialog-actions .btn,
  .training-results-dialog .dialog-actions .btn {
    width: 100%;
    min-width: 0;
  }
}
