﻿.operations-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.operations-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: var(--text-ui);
}

.operations-table th {
  padding: var(--space-2);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--text-label);
  text-align: left;
  text-transform: uppercase;
}

.operations-table td {
  min-width: 0;
  padding: var(--space-inline-tight) var(--space-2);
  border-bottom: 1px dashed var(--line);
  vertical-align: top;
  overflow-wrap: anywhere;
}

.operations-table th:first-child,
.operations-table td:first-child {
  width: var(--selection-column);
}

.operations-table td:first-child .operations-check-label > span {
  display: none;
}

.operations-table td:first-child .operations-check-label {
  min-width: var(--touch-target);
  justify-content: center;
}

.operations-table th:nth-child(2) {
  width: 18%;
}

.operations-table th:nth-child(3),
.operations-table th:nth-child(4) {
  width: 15%;
}

.operations-table th:nth-child(5),
.operations-table th:nth-child(6),
.operations-table th:nth-child(7) {
  width: 10%;
}

.operations-table th:last-child {
  width: 18%;
}

.operations-identity {
  display: grid;
  gap: var(--space-2);
}

.operations-image-id,
.operations-identity code {
  min-width: 0;
  overflow-wrap: anywhere;
}

.operations-view-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-2);
  min-width: 0;
  align-items: start;
}

.operations-view-panel > .operations-status,
.operations-view-panel > .operations-view-activity,
.operations-view-panel > .operations-details,
.operations-view-panel > .operations-text-link,
.operations-view-panel > .operations-muted {
  grid-column: 1 / -1;
}

.operations-preview-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--touch-target);
  min-height: var(--touch-target);
  border-radius: var(--radius-compact);
}

.operations-thumbnail {
  display: block;
  width: var(--thumbnail-size);
  height: var(--thumbnail-size);
  border: 1px solid var(--line);
  border-radius: var(--radius-compact);
  background: var(--surface-soft);
  object-fit: cover;
}

.operations-preview-missing,
.operations-view-activity {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-label);
  line-height: var(--leading-tight);
  overflow-wrap: anywhere;
}

.operations-view-activity-pair {
  display: inline-block;
  white-space: nowrap;
}

.operations-details {
  min-width: 0;
}

.operations-details summary {
  display: list-item;
  box-sizing: border-box;
  min-height: var(--touch-target);
  padding: var(--space-3) 0;
  color: var(--ink);
  cursor: pointer;
  font-size: var(--text-metadata);
  font-weight: 700;
  line-height: var(--leading-tight);
  overflow-wrap: anywhere;
}

.operations-details summary::marker {
  color: var(--accent-strong);
}

.operations-details summary:focus-visible,
.operations-preview-link:focus-visible {
  outline: var(--outline-width) solid var(--focus-ring);
  outline-offset: var(--outline-offset);
}

.operations-detail-list {
  padding: var(--space-2) 0;
  border-top: 1px solid var(--line);
}

.operations-table .operations-detail-list div {
  grid-template-columns: minmax(0, 1fr);
}

.operations-table .operations-detail-list dd {
  text-align: left;
}

.operations-compact-pair {
  display: grid;
  gap: var(--space-1);
  min-width: 0;
  overflow-wrap: anywhere;
}

.operations-compact-label {
  color: var(--muted);
  font-size: var(--text-label);
  font-weight: 700;
}

.operations-table-placeholder {
  color: var(--muted);
  text-align: center;
}
