#op-app > .panel {
  margin-top: 22px;
}

.operation-fields {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.operation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}

.operation-grid .auth-field {
  margin: 0;
  min-width: 0;
}

.operation-wide {
  grid-column: 1 / -1;
}

.operation-grid textarea,
.operation-grid select {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  padding: 10px 12px;
  color: #e5edf7;
  background: #0b1421;
  border: 1px solid #35465d;
  border-radius: 5px;
  font: inherit;
  font-size: 16px;
}

.operation-grid input {
  box-sizing: border-box;
  color-scheme: dark;
}

.operation-grid textarea {
  min-height: 100px;
  resize: vertical;
}

.operation-grid :is(textarea, select):focus-visible {
  outline: 2px solid #54d5bc;
  outline-offset: 2px;
}

.operation-list {
  display: grid;
  gap: 18px;
}

.operation-card {
  padding: 18px;
  border: 1px solid #35465d;
  border-radius: 8px;
  background: #101b29;
  min-width: 0;
}

.operation-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
  overflow-wrap: anywhere;
}

.operation-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.operation-badge {
  padding: 4px 9px;
  border-radius: 4px;
  background: #26364a;
  font-size: 12px;
}

.operation-badge[data-priority="important"] {
  color: #f3d28e;
  background: #463b24;
}

.operation-badge[data-priority="urgent"] {
  color: #ffc1c1;
  background: #542d35;
}

.operation-card dl {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 10px 14px;
  font-size: 14px;
}

.operation-card dt {
  color: #91a3ba;
}

.operation-card dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.operation-id {
  color: #91a3ba;
  font: 11px monospace;
  overflow-wrap: anywhere;
}

.operation-receipt {
  padding: 14px;
  color: #c1f6df;
  background: #173a30;
  border-radius: 5px;
  overflow-wrap: anywhere;
}

#op-resolve {
  margin-top: 16px;
}

@media (max-width: 700px) {
  .operation-grid {
    grid-template-columns: 1fr;
  }

  .operation-card dl {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .operation-card dd {
    margin-bottom: 10px;
  }
}