.action-workflow {
  display: grid;
  gap: 16px;
}

.action-context {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border-radius: 13px;
  background: #f3f7f5;
}

.action-context span,
.action-context b {
  display: block;
}

.action-context span {
  margin-bottom: 4px;
  color: #72837c;
  font-size: 12px;
}

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

.workflow-field {
  display: grid;
  gap: 7px;
}

.workflow-field.full {
  grid-column: 1 / -1;
}

.workflow-field > span {
  font-size: 13px;
  font-weight: 700;
  color: #324e44;
}

.workflow-field em {
  color: #d64b43;
  font-style: normal;
}

.workflow-field input,
.workflow-field select,
.workflow-field textarea {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #d9e5e0;
  border-radius: 10px;
  outline: none;
  background: white;
  font: inherit;
}

.workflow-field textarea {
  min-height: 92px;
  resize: vertical;
}

.workflow-field input:focus,
.workflow-field select:focus,
.workflow-field textarea:focus {
  border-color: #378d6b;
  box-shadow: 0 0 0 3px rgba(55,141,107,.11);
}

.workflow-field.invalid input,
.workflow-field.invalid select,
.workflow-field.invalid textarea {
  border-color: #d64b43;
}

.workflow-error {
  color: #c1433d;
  font-size: 12px;
}

.workflow-upload {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 14px;
  border: 1px dashed #9fb9ae;
  border-radius: 12px;
  color: #587268;
  text-align: center;
  background: #f8fbfa;
  cursor: pointer;
}

.workflow-upload input {
  display: none;
}

.workflow-upload.has-file {
  border-style: solid;
  color: #267050;
  background: #edf8f2;
}

.workflow-confirm {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff6e9;
  color: #694d2b;
  line-height: 1.6;
}

.workflow-confirm input {
  margin-top: 5px;
}

.workflow-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.button-loading {
  position: relative;
  pointer-events: none;
  opacity: .75;
}

.button-loading::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 7px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -2px;
  animation: workflow-spin .7s linear infinite;
}

@keyframes workflow-spin {
  to { transform: rotate(360deg); }
}

.operation-fab {
  position: fixed;
  right: 22px;
  bottom: 74px;
  z-index: 3490;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #2d4860;
  box-shadow: 0 10px 28px rgba(22,44,61,.24);
  cursor: pointer;
}

.operation-fab b {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: 999px;
  color: #2d4860;
  background: white;
  font-size: 11px;
}

.operation-list {
  display: grid;
  gap: 10px;
}

.operation-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid #e0e9e5;
  border-radius: 12px;
  background: white;
}

.operation-item > i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #286f52;
  background: #e9f6ef;
  font-style: normal;
}

.operation-item span,
.operation-item small {
  display: block;
}

.operation-item small {
  margin-top: 4px;
  color: #778982;
}

.operation-empty {
  padding: 32px;
  color: #75877f;
  text-align: center;
}

.action-result {
  display: grid;
  place-items: center;
  min-height: 220px;
  text-align: center;
}

.action-result i {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 50%;
  color: #fff;
  background: #2e936c;
  font-size: 28px;
  font-style: normal;
}

.action-result h3 {
  margin: 0 0 8px;
}

.action-result p {
  max-width: 520px;
  color: #6c7e76;
  line-height: 1.7;
}

.table-filter-empty {
  padding: 28px !important;
  color: #7a8c84;
  text-align: center;
}

.api-reservation {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  color: #536c61;
  background: #eef5f2;
  font-family: Consolas, monospace;
  font-size: 12px;
  word-break: break-all;
}

@media (max-width: 720px) {
  .action-context,
  .workflow-grid {
    grid-template-columns: 1fr;
  }
  .workflow-field.full {
    grid-column: auto;
  }
}

body[data-business-busy="true"]::after,
body[data-hq-busy="true"]::after {
  content: "正在处理，请勿重复点击…";
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10000;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(17, 65, 52, 0.96);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-size: 14px;
  pointer-events: none;
}
body[data-business-busy="true"],
body[data-hq-busy="true"] {
  cursor: progress;
}
.evidence-file-links {
  display: grid;
  gap: 4px;
  margin-top: 6px;
}
.evidence-file-links .action-link {
  text-align: left;
  overflow-wrap: anywhere;
}