#generatedWorkflowForm[data-workflow-id="employee.it_service"] .generated-form-submit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 34%);
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid #c9d9ef;
  border-radius: 20px;
  background: #f6f9fd;
  box-shadow: 0 14px 32px rgba(27, 67, 123, .08);
}

#generatedWorkflowForm[data-workflow-id="employee.it_service"] .generated-form-submit > span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #38506f;
}

#generatedWorkflowForm[data-workflow-id="employee.it_service"] .generated-form-submit > span > i {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: #173f78;
}

#generatedWorkflowForm[data-workflow-id="employee.it_service"] .generated-form-submit small {
  font-size: 13px;
  line-height: 1.9;
}

#generatedWorkflowForm[data-workflow-id="employee.it_service"] .generated-form-submit .btn {
  min-height: 56px;
  border: 0;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  background: #1b579c;
  box-shadow: 0 10px 24px rgba(27, 87, 156, .24);
}

.it-service-modal {
  width: min(1120px, calc(100vw - 46px));
}

.it-request-detail {
  display: grid;
  gap: 18px;
}

.it-request-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.it-request-summary > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #dbe5f1;
  border-radius: 15px;
  background: #fff;
}

.it-request-summary small,
.it-request-fields small {
  color: #72839a;
  font-size: 12px;
}

.it-request-summary strong {
  overflow: hidden;
  color: #17385f;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.it-workflow-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 8px;
  padding: 12px;
  border: 1px solid #dce6f2;
  border-radius: 18px;
  background: #f7f9fc;
}

.it-workflow-timeline span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 9px 11px;
  border-radius: 13px;
  color: #72839a;
  background: #fff;
}

.it-workflow-timeline i {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 10px;
  color: #5e7590;
  background: #eaf0f7;
  font-style: normal;
  font-weight: 800;
}

.it-workflow-timeline b {
  font-size: 12px;
  line-height: 1.7;
}

.it-workflow-timeline span.current {
  color: #17467b;
  outline: 2px solid #8bb3e2;
  background: #edf5ff;
}

.it-workflow-timeline span.current i {
  color: #fff;
  background: #1b579c;
}

.it-workflow-timeline span.done {
  color: #16624f;
  background: #eaf7f2;
}

.it-workflow-timeline span.done i {
  color: #fff;
  background: #1d9273;
}

.it-update-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid #b8d8ce;
  border-radius: 20px;
  color: #174d42;
  background: #edf8f4;
}

.it-update-card > i,
.it-no-response > i {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 17px;
  color: #fff;
  background: #1d9273;
}

.it-update-card > div {
  display: grid;
  gap: 4px;
}

.it-update-card small,
.it-update-card aside span {
  color: #67857d;
  font-size: 11px;
}

.it-update-card strong {
  font-size: 16px;
}

.it-update-card p {
  margin: 2px 0 0;
  color: #345f57;
  font-size: 13px;
  line-height: 1.9;
}

.it-update-card aside {
  display: grid;
  gap: 6px;
  min-width: 165px;
  padding-right: 16px;
  border-right: 1px solid #c9e1d9;
}

.it-update-card aside b {
  color: #155f4d;
  font-size: 13px;
}

.it-update-card.tone-purchase {
  border-color: #ead39d;
  color: #775916;
  background: #fff8e8;
}

.it-update-card.tone-purchase > i {
  background: #c58b18;
}

.it-update-card.tone-progress,
.it-update-card.tone-waiting {
  border-color: #bcd3ec;
  color: #1f527f;
  background: #eef6ff;
}

.it-update-card.tone-progress > i,
.it-update-card.tone-waiting > i {
  background: #2876b7;
}

.it-no-response {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px dashed #bfcee0;
  border-radius: 18px;
  color: #38506f;
  background: #f8fafc;
}

.it-no-response > i {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  background: #6d839d;
}

.it-no-response span {
  display: grid;
  gap: 3px;
}

.it-no-response small {
  color: #7b8ca1;
}

.it-request-fields,
.it-request-history {
  overflow: hidden;
  border: 1px solid #dce5f0;
  border-radius: 20px;
  background: #fff;
}

.it-request-fields > header,
.it-request-history > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border-bottom: 1px solid #e4ebf3;
  background: #f8fafc;
}

.it-request-fields h3,
.it-request-history h3 {
  margin: 3px 0 0;
  color: #17385f;
  font-size: 16px;
}

.it-request-fields > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
}

.it-request-fields article {
  display: grid;
  gap: 6px;
  padding: 13px 14px;
  border: 1px solid #e1e8f1;
  border-radius: 13px;
  background: #fbfcfe;
}

.it-request-fields article.full {
  grid-column: 1 / -1;
}

.it-request-fields article > div {
  color: #203f64;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.9;
}

.it-request-history > header b {
  color: #1b579c;
  font-size: 12px;
}

.it-request-history > div {
  display: grid;
  padding: 8px 18px 16px;
}

.it-request-history article {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px dashed #dfe7f0;
}

.it-request-history article:last-child {
  border-bottom: 0;
}

.it-request-history article > i {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border: 3px solid #d9e9fa;
  border-radius: 50%;
  background: #276eae;
}

.it-request-history article > div {
  display: grid;
  gap: 4px;
}

.it-request-history strong {
  color: #203f64;
  font-size: 13px;
}

.it-request-history p {
  margin: 0;
  color: #526981;
  font-size: 12px;
  line-height: 1.9;
}

.it-request-history small {
  color: #8795a7;
  font-size: 11px;
}

.it-action-panel,
.it-confirm-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid #bcd3ec;
  border-radius: 22px;
  background: #eef6ff;
}

.it-action-panel > header,
.it-confirm-panel > header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.it-action-panel > header > i,
.it-confirm-panel > header > i {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: #1b579c;
}

.it-action-panel header div,
.it-confirm-panel header div {
  display: grid;
  gap: 3px;
}

.it-action-panel header small,
.it-confirm-panel header small {
  color: #54759a;
  font-size: 11px;
}

.it-action-panel h3,
.it-confirm-panel h3 {
  margin: 0;
  color: #17385f;
  font-size: 18px;
}

.it-action-panel header p,
.it-confirm-panel header p {
  margin: 0;
  color: #526981;
  font-size: 12px;
  line-height: 1.8;
}

.it-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.it-action-grid label,
.it-confirm-panel > label {
  display: grid;
  gap: 7px;
}

.it-action-grid label.full {
  grid-column: 1 / -1;
}

.it-action-grid label > span,
.it-confirm-panel > label > span {
  color: #294b70;
  font-size: 12px;
  font-weight: 800;
}

.it-action-grid label em,
.it-confirm-panel label em {
  color: #7b8da2;
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
}

.it-action-grid select,
.it-action-grid input,
.it-action-grid textarea,
.it-confirm-panel textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #b8cce3;
  border-radius: 12px;
  color: #17385f;
  background: #fff;
  font: inherit;
}

.it-action-grid textarea,
.it-confirm-panel textarea {
  min-height: 94px;
  resize: vertical;
}

.it-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.it-action-buttons .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  border-radius: 16px;
}

.it-action-buttons .btn span {
  display: grid;
  gap: 2px;
  text-align: right;
}

.it-action-buttons .btn b {
  font-size: 14px;
}

.it-action-buttons .btn small {
  font-size: 10px;
  font-weight: 500;
}

.it-update-button {
  border: 1px solid #aac4e2;
  color: #17467b;
  background: #fff;
}

.it-complete-button,
.it-confirm-button {
  border: 0;
  color: #fff;
  background: #168063;
  box-shadow: 0 9px 20px rgba(22, 128, 99, .2);
}

.it-confirm-panel {
  border-color: #b5dacd;
  background: #eef9f5;
}

.it-confirm-panel > header > i {
  background: #168063;
}

.it-confirm-buttons {
  display: flex;
  gap: 10px;
}

.it-confirm-buttons .btn {
  min-height: 48px;
  border-radius: 13px;
  font-weight: 800;
}

.it-reopen-button {
  border: 1px solid #e4b5ad;
  color: #a34034;
  background: #fff;
}

@media (max-width: 720px) {
  #generatedWorkflowForm[data-workflow-id="employee.it_service"] .generated-form-submit {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .it-service-modal {
    width: 100%;
  }

  .it-request-summary {
    grid-template-columns: 1fr 1fr;
  }

  .it-request-summary > div:last-child {
    grid-column: 1 / -1;
  }

  .it-workflow-timeline {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .it-workflow-timeline span {
    min-width: 180px;
    scroll-snap-align: start;
  }

  .it-update-card {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 14px;
  }

  .it-update-card > i {
    width: 44px;
    height: 44px;
  }

  .it-update-card aside {
    grid-column: 1 / -1;
    padding: 10px 0 0;
    border-top: 1px solid #c9e1d9;
    border-right: 0;
  }

  .it-request-fields > div,
  .it-action-grid,
  .it-action-buttons {
    grid-template-columns: 1fr;
  }

  .it-request-fields article.full,
  .it-action-grid label.full {
    grid-column: auto;
  }

  .it-action-panel,
  .it-confirm-panel {
    padding: 15px;
  }

  .it-action-panel > header,
  .it-confirm-panel > header {
    align-items: flex-start;
  }

  .it-confirm-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }
}
