.inspect-search {
  margin-bottom: 10px;
}

.preview-hit {
  border-radius: 0px;
  background: rgba(247, 201, 72, 0.34);
  color: #fff;
  user-select: text;
  -webkit-user-select: text;

  &.active {
    background: #f7c948;
    color: #111820;
  }
}

.inspect-editor,
.mechanical-editor {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
  padding: 10px;
  border: var(--border-width) solid var(--line);
  border-radius: 0px;
  background: #111820;

  &[hidden] {
    display: none;
  }
}

.inspect-editor-title,
.mechanical-editor-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;

  strong {
    color: #fff;
  }

  span {
    color: var(--muted);
    font-size: 14px;
  }
}

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

.inspect-editor-field {
  display: grid;
  gap: 5px;

  input,
  select {
    user-select: text;
    -webkit-user-select: text;
  }

  span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
  }
}

.inspect-editor-subtitle {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.inspect-editor-block {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.inspect-numberplate-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: var(--border-width) solid var(--line-soft);
  border-radius: 0px;
  background: #0d1116;
}

.inspect-numberplate-subgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.inspect-reference-list,
.mechanical-visual-list {
  display: grid;
  gap: 6px;
}

.mechanical-add-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;

  input {
    min-width: 0;
  }
}

.inspect-reference-row,
.mechanical-visual-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 7px;
  border: var(--border-width) solid var(--line-soft);
  border-radius: 0px;
  background: #0d1116;

  span {
    overflow-wrap: anywhere;
    color: #d9e1e8;
    font-family: var(--font-body);
    font-size: 14px;
  }

  button {
    min-height: 30px;
    border-color: rgba(var(--accent-2-rgb), 0.55);
    background: rgba(var(--accent-2-rgb), 0.14);
  }
}

.inspect-reference-row {
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);

  input {
    min-width: 0;
  }
}

.inspect-reference-meta {
  display: grid;
  gap: 3px;

  strong {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
  }

  span {
    color: var(--muted);
    font-size: 14px;
  }
}

.inspect-editor-actions {
  display: flex;
  justify-content: flex-end;
}

.inspect-summary-box {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 280px;
}

