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

.operation-row {
  display: grid;
  grid-template-columns: 150px minmax(130px, 0.8fr) minmax(180px, 1.2fr) 120px 110px;
  align-items: center;
  gap: 0;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  animation: fade 180ms ease both;
}

.operation-row > time,
.operation-row > span,
.operation-row > strong {
  min-width: 0;
  padding: 10px 14px;
  overflow-wrap: anywhere;
}

.operation-row > :not(:first-child) {
  border-left: 1px solid var(--line);
}

.operation-row time {
  color: var(--muted);
  font-size: 13px;
}

.operation-amount {
  color: var(--text);
  font-weight: 800;
  white-space: nowrap;
}

.operation-subject {
  display: grid;
  gap: 3px;
}

.operation-subject > span:not(.operation-subject-login) {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.operation-status-wrap {
  position: relative;
}

.operation-status {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  text-transform: lowercase;
}

.status-text-approved {
  color: #15803d;
}

.status-text-declined,
.status-text-blocked {
  color: var(--danger);
}

.status-text-pending,
.status-text-accepted {
  color: #a16207;
}

.has-tooltip {
  cursor: help;
  text-decoration: underline dotted currentColor;
  text-underline-offset: 3px;
}

.operation-tooltip {
  position: absolute;
  z-index: 10;
  right: 12px;
  bottom: calc(100% - 4px);
  width: min(320px, 70vw);
  border-radius: 7px;
  background: #292621;
  color: #fff;
  padding: 9px 11px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
}

.has-tooltip:hover + .operation-tooltip,
.has-tooltip:focus + .operation-tooltip {
  opacity: 1;
  transform: translateY(0);
}
